diff options
| author | Kirill Smelkov <kirr@navytux.spb.ru> | 2012-11-21 09:47:23 +0400 |
|---|---|---|
| committer | Kirill Smelkov <kirr@navytux.spb.ru> | 2012-11-24 12:54:03 +0400 |
| commit | 168aed4984906ba5ef90acb9796f959e266a49b5 (patch) | |
| tree | 7c0813fb567eb0dd0d774b8febe4e5d82148ad33 /tests/Makefile | |
| parent | 4744269494bc6cfd306344adce4eb93fe95ce377 (diff) | |
| download | tinycc-168aed4984906ba5ef90acb9796f959e266a49b5.tar.gz tinycc-168aed4984906ba5ef90acb9796f959e266a49b5.tar.bz2 | |
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>
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index af1fdb8..da7c3f9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 |
