From 3783b494e1788de1566d1e816853f3fb3d263be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 3 Sep 2015 21:06:49 +0200 Subject: Improve upgrade test --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3