diff --git a/tests/roundtrips.py b/tests/roundtrips.py index 0d8e51ee011c..f95b3f521aa7 100755 --- a/tests/roundtrips.py +++ b/tests/roundtrips.py @@ -206,7 +206,8 @@ def run_roundtrip_cpp(arch: str, release: bool) -> str: output_path = f"tests/cpp/roundtrips/{arch}/out.rrd" extension = ".exe" if os.name == "nt" else "" - cmd = [f"./build/debug/tests/cpp/roundtrips/{target_name}{extension}", output_path] + config = "release" if release else "debug" + cmd = [f"./build/{config}/cpp/roundtrips/{target_name}{extension}", output_path] run(cmd, env=roundtrip_env(), timeout=12000) return output_path