forked from constantinpape/cluster_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_all_tests.sh
executable file
·204 lines (181 loc) · 3.61 KB
/
run_all_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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# In some cases luigi does not correctly update task parameters when the same task, but with different input parameters
# is run in the same python process, as is the case when using unittest discover
# hence we need to run the tests "by hand" here and exit if any of the tests fails
# for some reason these tests also need to be run all separately
python test/connected_components/connected_components.py TestConnectedComponents.test_greater
if [[ $? != 0 ]]
then
exit 1
fi
python test/connected_components/connected_components.py TestConnectedComponents.test_less
if [[ $? != 0 ]]
then
exit 1
fi
python test/connected_components/connected_components.py TestConnectedComponents.test_equal
if [[ $? != 0 ]]
then
exit 1
fi
# need to run test separately due to some failed cleanup
python test/downscaling/test_downscaling.py TestDownscaling.test_downscaling_paintera
if [[ $? != 0 ]]
then
exit 1
fi
python test/downscaling/test_downscaling.py TestDownscaling.test_downscaling_bdv_h5
if [[ $? != 0 ]]
then
exit 1
fi
python test/downscaling/test_downscaling.py TestDownscaling.test_downscaling_bdv_n5
if [[ $? != 0 ]]
then
exit 1
fi
python test/downscaling/test_downscaling.py TestDownscaling.test_downscaling_ome_zarr
if [[ $? != 0 ]]
then
exit 1
fi
python test/downscaling/test_downscaling.py TestDownscaling.test_downscaling_int_to_uint
if [[ $? != 0 ]]
then
exit 1
fi
python test/evaluation/test_evaluation.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/features/test_edge_features.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/features/test_region_features.py
if [[ $? != 0 ]]
then
exit 1
fi
# for the graph test both of the tests in the same unittest need to be run separately
python test/graph/test_graph.py TestGraph.test_graph
if [[ $? != 0 ]]
then
exit 1
fi
python test/graph/test_graph.py TestGraph.test_graph_label_multiset
if [[ $? != 0 ]]
then
exit 1
fi
python test/ilastik/test_pixel_classification.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/inference/test_inference.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/label_multisets/test_label_multisets.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/lifted_features/lifted_features.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/lifted_features/sparse_lifted_neighborhood.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/morphology/test_morphology.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/mutex_watershed/test_mws.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/mutex_watershed/test_mws_with_mask.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/node_labels/test_node_labels.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/postprocess/test_postprocess.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/relabel/test_relabel.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/retry/test_retry.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/skeletons/test_skeletons.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/statistics/test_statistics.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/transformations/test_linear.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/utils/test_function_utils.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/utils/test_function_utils.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/watershed/test_watershed_with_mask.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/watershed/test_watershed_without_mask.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/workflows/lifted_multicut_workflow.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/workflows/multicut_workflow.py
if [[ $? != 0 ]]
then
exit 1
fi
python test/write/test_write.py
if [[ $? != 0 ]]
then
exit 1
fi