summaryrefslogtreecommitdiffstats
path: root/tests/all.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-11-07 13:25:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-11-07 13:25:45 (GMT)
commitc5bbe85f29a60e507f1510d6de30b07be24c9f64 (patch)
tree2f740c336a6b5f8dbe2b1fa16f4970a41d66cc5a /tests/all.tcl
parentbea160e7f67787e879ac528090b95a236e689ae8 (diff)
downloadtcl-c5bbe85f29a60e507f1510d6de30b07be24c9f64.zip
tcl-c5bbe85f29a60e507f1510d6de30b07be24c9f64.tar.gz
tcl-c5bbe85f29a60e507f1510d6de30b07be24c9f64.tar.bz2
Rebase of travis config
Diffstat (limited to 'tests/all.tcl')
-rw-r--r--tests/all.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index e14bd9c..89a4f1a 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -22,5 +22,7 @@ if {[singleProcess]} {
interp debug {} -frame 1
}
-runAllTests
+set ErrorOnFailures [info exists env(ERROR_ON_FAILURES)]
+unset -nocomplain env(ERROR_ON_FAILURES)
+if {[runAllTests] && $ErrorOnFailures} {exit 1}
proc exit args {}