File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 84
84
85
85
if [ " $TEST_CASE " = " all" ]; then
86
86
python -m unittest -v tests.ptrack || status=$?
87
+
88
+ # Get back to testdir
89
+ cd ..
90
+
91
+ # Something went wrong, exit with code 1 now
92
+ if [ $status -ne 0 ]; then exit 1; fi
93
+
94
+ # Generate *.gcov files
95
+ gcov src/* .c src/* .h
96
+
97
+ # Send coverage stats to Codecov
98
+ bash <( curl -s https://codecov.io/bash)
87
99
else
88
100
for i in ` seq $TEST_REPEATS ` ; do
89
101
python -m unittest -v tests.ptrack.PtrackTest.$TEST_CASE || status=$?
90
102
done
91
103
fi
92
-
93
- # Get back to testdir
94
- cd ..
95
-
96
- # Generate *.gcov files
97
- gcov src/* .c src/* .h
98
-
99
- # Send coverage stats to Codecov
100
- bash <( curl -s https://codecov.io/bash)
101
-
102
- # Something went wrong, exit with code 1
103
- if [ $status -ne 0 ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments