forked from PmagPy/PmagPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests.sh
executable file
·52 lines (49 loc) · 1.75 KB
/
run_tests.sh
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
#pythons=('python3' 'pythonw')
#for py_exec in ${pythons[@]}; do
# # get full path to python version
# py_exec="$(which $py_exec)"
# # find what version of python it is
# output="$($py_exec --version 2>&1)"
# # determine if version is Python 3
# if [[ ${output} == *"Python 3"* ]]; then
# use_this_python=$py_exec
# fi
#done
#$use_this_python="$(which python)"
echo Do Test Simple Example
pythonw -m unittest -v pmagpy_tests.test_simple_example
echo Do Test Pmag GUI
pythonw -m unittest -v pmagpy_tests.test_pmag_gui
echo Do Test Pmag
pythonw -m unittest -v pmagpy_tests.test_pmag
echo Do Test Imports2
pythonw -m unittest -v pmagpy_tests.test_imports2
echo Do Test Imports3
pythonw -m unittest -v pmagpy_tests.test_imports3
echo Do Test Ipmag
pythonw -m unittest -v pmagpy_tests.test_ipmag
echo Do Test Thellier GUI
pythonw -m unittest -v pmagpy_tests.test_thellier_gui
echo Do Test Demag GUI
pythonw -m unittest -v pmagpy_tests.test_demag_gui
echo Do Test Magic GUI
pythonw -m unittest -v pmagpy_tests.test_magic_gui
echo Do Test Builder
pythonw -m unittest -v pmagpy_tests.test_builder
echo Do Test Validations
pythonw -m unittest -v pmagpy_tests.test_validations
echo Do Test Programs
pythonw -m unittest -v pmagpy_tests.test_programs
echo Do Test Magic GUI 2
pythonw -m unittest -v pmagpy_tests.test_magic_gui2
echo Do Test Contribution Builder
pythonw -m unittest -v pmagpy_tests.test_contribution_builder
echo Do Test Er Magic Dialogs
pythonw -m unittest -v pmagpy_tests.test_er_magic_dialogs
echo Do Test Find Pmag Dir
pythonw -m unittest -v pmagpy_tests.test_find_pmag_dir
echo Do Test Map Magic
pythonw -m unittest -v pmagpy_tests.test_map_magic
echo Do Test Dialog Components
pythonw -m unittest -v pmagpy_tests.test_dialog_components