dont mark skipped tests as failure

This commit is contained in:
Ben McClelland
2021-01-15 10:45:57 -07:00
parent 36a3f04566
commit 0b521a943e
+4 -3
View File
@@ -523,9 +523,10 @@ if [ -n "$T_TRACE_GLOB" ]; then
cat /sys/kernel/debug/tracing/trace > "$T_RESULTS/traces"
fi
if [ "$skipped" == 0 -a "$failed" == 0 ]; then
status=1
if [ "$failed" == 0 ]; then
msg "all tests passed"
exit 0
status=0
fi
if [ "$skipped" != 0 ]; then
@@ -534,4 +535,4 @@ fi
if [ "$failed" != 0 ]; then
msg "$failed tests failed, check fail.log"
fi
exit 1
exit $status