From 0008f0e75395c211ab87ba5c1ce3c49a654a36ca Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Wed, 23 Oct 2024 19:32:10 +0200 Subject: [PATCH] fix roundtrip tests using wrong folder for cpp built artifacts --- tests/roundtrips.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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