summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-10-21 10:16:05 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-10-21 10:16:05 (GMT)
commit0c78f5bbada0703c8063287e2e063604c4023ba7 (patch)
tree3681bd86e5eeb8d13b50a1941bb888679aa5728e /tests
parent2e0a0b53053f3699f0593ca9e50b5ba45a548da1 (diff)
downloadtcl-0c78f5bbada0703c8063287e2e063604c4023ba7.zip
tcl-0c78f5bbada0703c8063287e2e063604c4023ba7.tar.gz
tcl-0c78f5bbada0703c8063287e2e063604c4023ba7.tar.bz2
Disable windows builds. Make test failures fatal.
Diffstat (limited to 'tests')
-rw-r--r--tests/all.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index d01a54d..f3463c6 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -14,4 +14,6 @@ package require Tcl 8.5
package require tcltest 2.2
namespace import tcltest::*
configure {*}$argv -testdir [file dir [info script]]
-runAllTests
+set ErrorOnFailures [info exists env(ERROR_ON_FAILURES)]
+unset -nocomplain env(ERROR_ON_FAILURES)
+if {[runAllTests] && $ErrorOnFailures} {exit 1}