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 8484
8585if [ " $TEST_CASE " = " all" ]; then
8686 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)
8799else
88100 for i in ` seq $TEST_REPEATS ` ; do
89101 python -m unittest -v tests.ptrack.PtrackTest.$TEST_CASE || status=$?
90102 done
91103fi
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