Skip to content

Commit

Permalink
[tests][test_build_and_run] reflected recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Godhart committed May 13, 2024
1 parent c04def1 commit 2dd318b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/tests_30_build_and_run/test_build_and_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def test_build_and_run(test_set:str):

# NOTE: waves.vcd contains header with run date (first 3 lines), drop it
skip = False
with open(output_path / ".run" / "waves.vcd", "r") as fr:
run_dir = ".build"
with open(output_path / run_dir / "waves.vcd", "r") as fr:
with open(output_path / "waves.vcd", "w") as fw:
v = None
while v != "":
Expand All @@ -97,9 +98,9 @@ def test_build_and_run(test_set:str):
".build",
".build/*",
".build/**/*",
".run",
".run/*",
".run/**/*",
f"{run_dir}",
f"{run_dir}/*",
f"{run_dir}/**/*",
],
) == expected

Expand Down

0 comments on commit 2dd318b

Please sign in to comment.