Skip to content

Commit 9adddfc

Browse files
committed
fix fail dir creation
1 parent 96f1443 commit 9adddfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests/local.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def as_runner(path):
772772
if not os.path.exists("out/trace_data"):
773773
os.mkdir("out/trace_data")
774774

775-
if not os.path.exists(fail_log_dir):
775+
if fail_log_dir and not os.path.exists(fail_log_dir):
776776
os.mkdir(fail_log_dir)
777777

778778
metadata = yaml.full_load(open("src/python_testing/test_metadata.yaml"))

0 commit comments

Comments
 (0)