Skip to content

Commit

Permalink
fix pathlib issue
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Apr 18, 2023
1 parent bdf257e commit 715f4ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/test/test_framework.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def determinize_text(input, denumberify_paths=[], remove_paths=[], ignore_patter


def compare_output(args, expected_stdout, expected_stderr, stdin="", launcher_flags=[]):
args[0] = binpath / "benchmark" / args[0]
expected_stdout = sourcepath / "reference" / expected_stdout
expected_stderr = sourcepath / "reference" / expected_stderr
args[0] = str(binpath / "benchmark" / args[0])
expected_stdout = str(sourcepath / "reference" / expected_stdout)
expected_stderr = str(sourcepath / "reference" / expected_stderr)
result = subprocess.run(args=launcher_flags + args, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, input=bytes(stdin, "utf-8"))
print("TEST: {}".format(
Expand Down

0 comments on commit 715f4ab

Please sign in to comment.