We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0442cb5 commit 38e6135Copy full SHA for 38e6135
1 file changed
Utilities/run-full-tests.sh
@@ -46,6 +46,7 @@ report_failure() {
46
}
47
48
_count=0
49
+failures=0
50
try() {
51
label="$1"
52
shift
@@ -62,6 +63,7 @@ try() {
62
63
echo " ${red_on}${bold_on}Failed in $(($end - $start))s.${bold_off}${red_off}" \
64
"${red_on}See $output for full console output.${red_off}"
65
tail -10 "$output" | sed 's/^/ /'
66
+ failures=$(($failures + 1))
67
fi
68
69
@@ -190,3 +192,8 @@ else
190
192
-Xswiftc -DSWIFT_ATOMICS_LONG_TESTS \
191
193
--build-path "$build_dir/spm.release.test.long+tsan"
194
195
+
196
+if [ "$failures" -ne 0 ]; then
197
+ echo "${red_on}${bold_on}Completed with $failures failing test configuration(s).${bold_off}${red_off}"
198
+ exit 1
199
+fi
0 commit comments