File tree Expand file tree Collapse file tree 1 file changed +2
-44
lines changed Expand file tree Collapse file tree 1 file changed +2
-44
lines changed Original file line number Diff line number Diff line change @@ -9,47 +9,5 @@ othertag=""
9
9
rm -rf ./log
10
10
mkdir ./log
11
11
12
- ./build/tests/unittests -d yes ${UT_FILTER} -a --order rand --allow-running-no-tests -o " ./log/unittest.log" &
13
- pids+=($! )
14
- logger_files+=(" ./log/unittest.log" )
15
-
16
- for tag in ${parallel_tags}
17
- do
18
- othertag=" ~" ${tag}${othertag}
19
- ./build/tests/functests -d yes ${UT_FILTER} -a --order rand --allow-running-no-tests ${tag} -o ./log/${tag} .log &
20
- pids+=($! )
21
- logname=" ./log/" ${tag} " .log"
22
- logger_files+=($logname )
23
- done
24
-
25
- ./build/tests/functests -d yes ${UT_FILTER} -a --order rand --allow-running-no-tests ${othertag} -o ./log/other.log &
26
- pids+=($! )
27
- logger_files+=(" ./log/other.log" )
28
-
29
- for pid in " ${pids[@]} "
30
- do
31
- wait $pid
32
- exit_codes+=($? )
33
- done
34
-
35
- index=0
36
- all_successful=true
37
- for code in " ${exit_codes[@]} "
38
- do
39
- if [ $code -ne 0 ]; then
40
- all_successful=false
41
- echo ${logger_files[${index}]} " failed"
42
- cat ${logger_files[${index}]}
43
- else
44
- echo ${logger_files[${index}]} " success"
45
- fi
46
- (( index+= 1 ))
47
- done
48
-
49
- rm -rf ./log
50
-
51
- if [ $all_successful = true ]; then
52
- exit 0
53
- else
54
- exit 1
55
- fi
12
+ ./build/tests/unittests
13
+ ./build/tests/functests
You can’t perform that action at this time.
0 commit comments