From 168aed4984906ba5ef90acb9796f959e266a49b5 Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Wed, 21 Nov 2012 09:47:23 +0400 Subject: [PATCH] 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 --- tests/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index af1fdb84..da7c3f97 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 -- 2.11.4.GIT