mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Make jenkins fail if tests fail catastrophically.
Previously, when the C++ tests seg faulted, Jenkins didn't make any noise. Change-Id: I3e3599d1b55d704c59a9675e3074ee76348cb035
This commit is contained in:
@@ -77,4 +77,15 @@ else
|
||||
eval ${SCP_GET_JAVA_TEST_RESULT}
|
||||
fi
|
||||
|
||||
# The mutex is released when this program exits
|
||||
# Make sure that we got test results back.
|
||||
if [ ! -e ${DEFAULT_LOCAL_CPP_TEST_RESULT} ]; then
|
||||
echo "There are no results from the C++ tests; they must have failed."
|
||||
exit 100
|
||||
fi
|
||||
|
||||
if [ ! -e ${DEFAULT_LOCAL_JAVA_TEST_RESULT} ]; then
|
||||
echo "There are no results from the Java tests; they must have failed."
|
||||
exit 101
|
||||
fi
|
||||
|
||||
# The mutex is released when this program exits
|
||||
|
||||
Reference in New Issue
Block a user