aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_app.mk
diff options
context:
space:
mode:
Diffstat (limited to 'test/core_app.mk')
-rw-r--r--test/core_app.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/core_app.mk b/test/core_app.mk
index 7abb9e9..effc598 100644
--- a/test/core_app.mk
+++ b/test/core_app.mk
@@ -2786,3 +2786,9 @@ core-app-test-build-outofdate-files-only: init
$t $(MAKE) -C $(APP) test-build $v
$t test $(APP)/test/use_blue.beam -nt $(APP)/build-2
$t test $(APP)/test/use_red.beam -nt $(APP)/build-2
+
+ $i "Add a syntax error to the test; check that the build fails"
+ $t $(SLEEP)
+ $t echo "garbage" >> $(APP)/test/use_blue.erl
+ $t ! $(MAKE) -C $(APP) test-build $v
+ $t ! test -f $(APP)/test/use_blue.beam