From 14aa970695b489c89268a7e5269bfd9e6aacf0a7 Mon Sep 17 00:00:00 2001 From: Piotro Date: Sat, 28 Oct 2023 16:22:05 +0200 Subject: [PATCH] fix typing --- scripts/run_signature.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/run_signature.py b/scripts/run_signature.py index 8b7060ff5..6acb4e311 100755 --- a/scripts/run_signature.py +++ b/scripts/run_signature.py @@ -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)