-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_test.sh
executable file
·17 lines (14 loc) · 978 Bytes
/
run_test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
wget -q https://www.dropbox.com/s/lioecnpv82r5n6e/example_volumes_v0_2.tar.gz
tar -xzvf example_volumes_v0_2.tar.gz
wget -N https://www.dropbox.com/s/p7b3t2c3mewtree/testing_data_v0_2.tar.gz
tar -xzvf testing_data_v0_2.tar.gz
python -m unittest discover -s "tests" -p "*_test.py"
## run global config tests
## These need to be run separately because NiftyNetGlobalConfig is a singleton, AND
## its operations pertain to a global configuration file (~/.niftynet/config.ini).
#GLOBAL_CONFIG_TEST_gcs=True python -m unittest tests.niftynet_global_config_test
#GLOBAL_CONFIG_TEST_necfc=True python -m unittest tests.niftynet_global_config_test
#GLOBAL_CONFIG_TEST_ecfl=True python -m unittest tests.niftynet_global_config_test
#GLOBAL_CONFIG_TEST_icfbu=True python -m unittest tests.niftynet_global_config_test
#GLOBAL_CONFIG_TEST_nenhc=True python -m unittest tests.niftynet_global_config_test
#GLOBAL_CONFIG_TEST_enhnt=True python -m unittest tests.niftynet_global_config_test