CI: added check-test.sh
This commit is contained in:
parent
59c7f356fd
commit
e40d106f85
10
tests/check-test.sh
Executable file
10
tests/check-test.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
FAILS=`grep -c 'TEST FAIL' $1/summary`
|
||||
echo "======== Test outcome ======="
|
||||
if [ -f "$1/summary" ] && [ $FAILS == 0 ]; then
|
||||
printf "Test %s OK\n" "$1"
|
||||
exit 0
|
||||
else
|
||||
printf "Test %s FAIL\n" "$1"
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user