tests: btest should only run on targets supporting bcheck

After 40a54c43 (Repair bounds-checking runtime), and in particular
5d648485 (Now btest pass!) `make test` was broken on ARCH != i386,
because I've changed btest to unconditionally run on all arches.

But bounds-checking itsels is only supported on i386 and oops...

Fix it.

Reported-by: Thomas Preud'homme <robotux@celest.fr>
master
Kirill Smelkov 2012-11-21 09:47:23 +04:00
parent 4744269494
commit 168aed4984
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ TESTS = libtest \
# test4 # this test does not seem to work on any platform
# asmtest # this test does not seem to work on any platform
# bounds-checking is supported only on i386
ifneq ($(ARCH),i386)
TESTS := $(filter-out btest,$(TESTS))
endif
# these should work too
# TESTS += test1 test2 speedtest btest weaktest