aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-03 21:06:49 +0200
committerLoïc Hoguin <[email protected]>2015-09-03 21:06:49 +0200
commit3783b494e1788de1566d1e816853f3fb3d263be0 (patch)
tree90e188300304a9e68e3333cc088c172cc606cb96 /test/Makefile
parent5391e03672aabc4a018b685078e941532a120aae (diff)
downloaderlang.mk-3783b494e1788de1566d1e816853f3fb3d263be0.tar.gz
erlang.mk-3783b494e1788de1566d1e816853f3fb3d263be0.tar.bz2
erlang.mk-3783b494e1788de1566d1e816853f3fb3d263be0.zip
Improve upgrade test
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index cb77349..f22c410 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -91,6 +91,9 @@ core-upgrade-no-config: build clean-core-upgrade-no-config
$i "Append a rule to the Erlang.mk file for testing purposes"
$t echo "erlang_mk_upgrade_test_rule: ; @echo FAIL" >> $(APP)/erlang.mk
+ $i "Check that the test rule works as intended"
+ $t test "FAIL" = "`$(MAKE) -C $(APP) --no-print-directory erlang_mk_upgrade_test_rule V=0`"
+
$i "Upgrade Erlang.mk"
$t $(MAKE) -C $(APP) erlang-mk $v