aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgrischka <grischka>2009-07-06 21:10:14 +0200
committerunknown <gr@.(none)>2009-07-18 21:54:47 +0200
commit0085c648f6e9f016f937107ce68651987b001ddf (patch)
treec2cec73325d4890889747ca00e27089583fb7264 /tests
parentc93ddac9aa466f11750be3f230e097c207104349 (diff)
downloadtinycc-0085c648f6e9f016f937107ce68651987b001ddf.tar.gz
tinycc-0085c648f6e9f016f937107ce68651987b001ddf.tar.bz2
bcheck: restore malloc hooks when done
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile13
1 files changed, 7 insertions, 6 deletions
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