Don't fail to build if all tests are skipped.
This commit is contained in:
parent
3aa0487289
commit
213def9666
|
@ -26,7 +26,11 @@ if [ "$failed" != "" -o "$timedout" != "" ]; then
|
||||||
fi
|
fi
|
||||||
if [ "$succeeding" = "" ]; then
|
if [ "$succeeding" = "" ]; then
|
||||||
echo "Test status: PUZZLED FACE (all tests were skipped)"
|
echo "Test status: PUZZLED FACE (all tests were skipped)"
|
||||||
exit 1
|
exit 0
|
||||||
|
fi
|
||||||
|
if [ "$skipped" != "" ]; then
|
||||||
|
echo "Test status: MILDLY PLEASED FACE (some tests were skipped, but the rest pass)"
|
||||||
|
echo 0
|
||||||
fi
|
fi
|
||||||
echo "Test status: HAPPY FACE (all tests are passing)"
|
echo "Test status: HAPPY FACE (all tests are passing)"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue