Skip to content

Commit 51063f6

Browse files
committed
update testall script
1 parent 436d921 commit 51063f6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

testall.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
print(h5py.version.info)
3838
sys.exit("Need h5py version 3.0 or later")
3939

40+
if not os.path.isdir("./out"):
41+
os.makedirs("out")
42+
4043
# Run all hdf5-json tests
4144
# Run this script before running any integ tests
4245
for file_name in unit_tests:
@@ -48,6 +51,13 @@
4851
os.remove("hdf5dbtest.log")
4952

5053
os.chdir("test/integ")
54+
55+
if not os.path.isdir("./h5_out"):
56+
os.makedirs("h5_out")
57+
58+
if not os.path.isdir("./json_out"):
59+
os.makedirs("json_out")
60+
5161
for file_name in integ_tests:
5262
print(file_name)
5363
rc = os.system("python " + file_name + ".py")

0 commit comments

Comments
 (0)