Skip to content

Commit

Permalink
fix roundtrip tests using wrong folder for cpp built artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 24, 2024
1 parent abcbcc3 commit 0008f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/roundtrips.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0008f0e

Please sign in to comment.