Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
piotro888 committed Oct 28, 2023
1 parent 202512b commit 14aa970
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/run_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@


def run_with_cocotb(test_name: str, traces: bool, output: str) -> bool:
arglist = ["make", "-C", parent + "/test/regression/cocotb", "-f", "signature.Makefile", "--no-print-directory"]
arglist = [
"make",
"-C",
parent + "/" if parent else "" + "test/regression/cocotb",
"-f",
"signature.Makefile",
"--no-print-directory",
]

if os.path.isfile(output):
os.remove(output)
Expand Down

0 comments on commit 14aa970

Please sign in to comment.