Skip to content

Commit 6a3a377

Browse files
committed
Create test directory if it does not exist
1 parent d539f1a commit 6a3a377

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/traces_to_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
test = traces_to_test(inout_file, root)
2727

28+
print("create test directory {}".format(root))
29+
os.makedirs(root, exist_ok=True)
30+
2831
test_yaml_file = os.path.join(root, 'test.yaml')
2932
print("generating {}".format(test_yaml_file))
3033
with open(test_yaml_file, "w") as f:

0 commit comments

Comments
 (0)