build: fix a test-ns3.py test-case and the bug introduced by a1a6d559

This commit is contained in:
Gabriel Ferreira
2023-11-18 20:42:36 -03:00
parent dc94f93adc
commit f2c00ceb3b
2 changed files with 7 additions and 3 deletions

2
ns3
View File

@@ -722,7 +722,7 @@ def configure_cmake(cmake, args, current_cmake_cache_folder, current_cmake_gener
cmake_args.extend(["-G", args.G])
if args.trace_cmake_perf:
cmake_performance_trace = os.path.join(os.path.relpath(ns3_path, current_cmake_cache_folder),
cmake_performance_trace = os.path.join(os.path.relpath(ns3_path, ns3_path),
"cmake_performance_trace.log")
cmake_args.extend(["--profiling-format=google-trace",
"--profiling-output=" + cmake_performance_trace])