Skip to content

Commit

Permalink
fixup! [ci] add benchmark tests with complex types
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Nov 5, 2024
1 parent 057c30d commit bc1a0af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmark/test/test_framework.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ def compare_output_impl(
use_complex: bool
):
base_file = sys.argv[1]
file = base_file if not use_complex else f"{base_file}_dcomplex"
if base_file.endswith(".exe"):
file = base_file if not use_complex else base_file.replace(".exe", "_dcomplex.exe")
else:
file = base_file if not use_complex else f"{base_file}_dcomplex"
args = [file] + args
expected_stdout = str(sourcepath / "reference" / expected_stdout)
expected_stderr = str(sourcepath / "reference" / expected_stderr)
Expand Down

0 comments on commit bc1a0af

Please sign in to comment.