forked from HDFGroup/h5pyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testall.py
executable file
·32 lines (27 loc) · 1.25 KB
/
testall.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
##############################################################################
# Copyright by The HDF Group. #
# All rights reserved. #
# #
# This file is part of H5Serv (HDF5 REST Server) Service, Libraries and #
# Utilities. The full HDF5 REST Server copyright notice, including s #
# terms governing use, modification, and redistribution, is contained in #
# the file COPYING, which can be found at the root of the source code #
# distribution tree. If you do not have access to this file, you may #
# request a copy from help@hdfgroup.org. #
##############################################################################
import os
import sys
tests = ( 'test_attribute', 'test_committedtype', 'test_dataset_compound',
'test_dataset_extend', 'test_dataset_getitem', 'test_file', 'test_group',
'test_objref' )
#
# Run tests
#
os.chdir('test')
for file_name in tests:
print(file_name)
rc = os.system('python ' + file_name + '.py')
if rc != 0:
sys.exit("Failed")
os.chdir('..')
print("Done!")