From 6f6d7696e56237a494af3decb00cee83c735c429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Thu, 22 Oct 2015 10:28:39 +0200 Subject: Replace "if $(MAKE) then false" by "! $(MAKE)" --- test/core_upgrade.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/core_upgrade.mk') diff --git a/test/core_upgrade.mk b/test/core_upgrade.mk index d7b1744..c4a8725 100644 --- a/test/core_upgrade.mk +++ b/test/core_upgrade.mk @@ -34,7 +34,7 @@ core-upgrade-custom-build-dir: build clean-core-upgrade-custom-build-dir $t ERLANG_MK_BUILD_DIR=custom $(MAKE) -C $(APP) erlang-mk $v $i "Check that the rule is gone" - $t if $(MAKE) -C $(APP) erlang_mk_upgrade_test_rule $v; then false; fi + $t ! $(MAKE) -C $(APP) erlang_mk_upgrade_test_rule $v $i "Check that the custom build directory is gone" $t test ! -d $(APP)/custom/ @@ -53,7 +53,7 @@ core-upgrade-custom-config: build clean-core-upgrade-custom-config $t $(MAKE) -C $(APP) erlang-mk $v $i "Check that the bootstrap plugin is gone" - $t if $(MAKE) -C $(APP) list-templates $v; then false; fi + $t ! $(MAKE) -C $(APP) list-templates $v core-upgrade-custom-repo: build clean-core-upgrade-custom-repo @@ -97,7 +97,7 @@ core-upgrade-no-config: build clean-core-upgrade-no-config $t $(MAKE) -C $(APP) erlang-mk $v $i "Check that the rule is gone" - $t if $(MAKE) -C $(APP) erlang_mk_upgrade_test_rule $v; then false; fi + $t ! $(MAKE) -C $(APP) erlang_mk_upgrade_test_rule $v core-upgrade-renamed-config: build clean-core-upgrade-renamed-config @@ -116,4 +116,4 @@ core-upgrade-renamed-config: build clean-core-upgrade-renamed-config $t $(MAKE) -C $(APP) erlang-mk $v $i "Check that the bootstrap plugin is gone" - $t if $(MAKE) -C $(APP) list-templates $v; then false; fi + $t ! $(MAKE) -C $(APP) list-templates $v -- cgit v1.2.3