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/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Makefile') 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." -- cgit v1.2.3