From 0085c648f6e9f016f937107ce68651987b001ddf Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 6 Jul 2009 21:10:14 +0200 Subject: bcheck: restore malloc hooks when done --- tests/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index ddd4932..98e1b3e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,11 +6,10 @@ TESTS = libtest test3 # these should work too -# TESTS += test1 test2 speed +# TESTS += test1 test2 speed btest # these don't work as they should -# TESTS += test4 btest asmtest - +# TESTS += test4 asmtest TOP = .. include $(TOP)/Makefile @@ -87,20 +86,22 @@ BOUNDS_FAIL= 2 5 7 9 11 12 13 btest: boundtest.c @echo ------------ $@ ------------ @for i in $(BOUNDS_OK); do \ + echo ; echo --- boundtest $$i ---; \ if $(TCC) -b -run boundtest.c $$i ; then \ - /bin/true ; \ + echo succeded as expected; \ else\ echo Failed positive test $$i ; exit 1 ; \ fi ;\ done ;\ for i in $(BOUNDS_FAIL); do \ + echo ; echo --- boundtest $$i ---; \ if $(TCC) -b -run boundtest.c $$i ; then \ echo Failed negative test $$i ; exit 1 ;\ else\ - /bin/true ; \ + echo failed as expected; \ fi ;\ done ;\ - echo Bound test OK + echo; echo Bound test OK # speed test speed: ex2 ex3 -- cgit v1.3.1