aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_upgrade.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <[email protected]>2015-10-22 10:28:39 +0200
committerJean-Sébastien Pédron <[email protected]>2015-10-22 10:28:39 +0200
commit6f6d7696e56237a494af3decb00cee83c735c429 (patch)
treeabfefdab359688c20a4ede146beb0522eb2ca7a3 /test/core_upgrade.mk
parentaa6c060fca42d7a38f3b91cf334a3544f8346afa (diff)
downloaderlang.mk-6f6d7696e56237a494af3decb00cee83c735c429.tar.gz
erlang.mk-6f6d7696e56237a494af3decb00cee83c735c429.tar.bz2
erlang.mk-6f6d7696e56237a494af3decb00cee83c735c429.zip
Replace "if $(MAKE) then false" by "! $(MAKE)"
Diffstat (limited to 'test/core_upgrade.mk')
-rw-r--r--test/core_upgrade.mk8
1 files changed, 4 insertions, 4 deletions
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