From 213def96664ba7bb1e0a3e72b8a9439f9038daed Mon Sep 17 00:00:00 2001 From: David Given Date: Fri, 2 Dec 2016 00:14:40 +0100 Subject: [PATCH] Don't fail to build if all tests are skipped. --- first/testsummary.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/first/testsummary.sh b/first/testsummary.sh index 9f1002b39..4923b0787 100755 --- a/first/testsummary.sh +++ b/first/testsummary.sh @@ -26,7 +26,11 @@ if [ "$failed" != "" -o "$timedout" != "" ]; then fi if [ "$succeeding" = "" ]; then 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 echo "Test status: HAPPY FACE (all tests are passing)" exit 0 -- 2.34.1