aboutsummaryrefslogtreecommitdiffstats
path: root/Cakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Cakefile')
-rw-r--r--Cakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cakefile b/Cakefile
index 5f6a53b9..0a45abac 100644
--- a/Cakefile
+++ b/Cakefile
@@ -47,3 +47,5 @@ task "test", "run all unit tests", ->
test_files = test_files.map((filename) -> "tests/" + filename)
test_files.forEach (file) -> require "./" + file
Tests.run()
+ if Tests.testsFailed > 0
+ process.exit 1