aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
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/Makefile
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/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 04b31af..4779c9f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -348,7 +348,7 @@ ct: app1
"all() -> [testcase1]." \
"testcase1(_) -> 42 = m:succ(1)." \
> app1/test/failing_SUITE.erl
- $t if $(MAKE) -C app1 ct-failing $v ; then false ; fi
+ $t ! $(MAKE) -C app1 ct-failing $v
$i "Checking that '$(MAKE) distclean-ct' deletes logs."
$t $(MAKE) -C app1 distclean-ct $v
$t [ ! -e app1/logs ]
@@ -396,7 +396,7 @@ eunit: app1
" ?assertEqual(42, t:succ(1))." \
> app1/eunit/t_tests.erl
$t $(MAKE) -C app1 distclean TEST_DIR=eunit $v
- $t if $(MAKE) -C app1 eunit TEST_DIR=eunit $v ; then false ; fi
+ $t ! $(MAKE) -C app1 eunit TEST_DIR=eunit $v
$t rm -rf app1/eunit app1/src/t.erl app1/test-eunit.log
$i "Test 'eunit' passed."