diff mbox

[RFC/POC,3/4] tests/tcg: don't run tests by default

Message ID 20161214171244.26813-4-alex.bennee@linaro.org
State New
Headers show

Commit Message

Alex Bennée Dec. 14, 2016, 5:12 p.m. UTC
If we are going to be doing the build in a different place we might
not have binfmt setup and certainly won't have a qemu built.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/tcg/arm/Makefile  | 2 +-
 tests/tcg/misc/Makefile | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.11.0
diff mbox

Patch

diff --git a/tests/tcg/arm/Makefile b/tests/tcg/arm/Makefile
index a7c8953bf4..c374f719c8 100644
--- a/tests/tcg/arm/Makefile
+++ b/tests/tcg/arm/Makefile
@@ -24,7 +24,7 @@  LDFLAGS=-nostdlib
 
 TESTS=hello-arm arm-iwmmxt
 
-all: $(patsubst %,run-%,$(TESTS))
+all: $(TESTS)
 test: all
 
 # rules to run tests
diff --git a/tests/tcg/misc/Makefile b/tests/tcg/misc/Makefile
index 0aa6f2ea21..6070107898 100644
--- a/tests/tcg/misc/Makefile
+++ b/tests/tcg/misc/Makefile
@@ -29,7 +29,7 @@  TESTS=linux-test \
       sha1 \
       test-mmap
 
-all: $(patsubst %,run-%,$(TESTS))
+all: $(TESTS)
 test: all
 
 # rules to run tests
@@ -64,7 +64,7 @@  testthread: testthread.c
 
 # generic Linux and CPU test
 linux-test: linux-test.c
-	$(CROSS_CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lm
+	$(CROSS_CC) ${QEMU_INCLUDES} $(CFLAGS) $(LDFLAGS) -o $@ $< -lm
 
 test-mmap: test-mmap.c
 	$(CROSS_CC) $(CFLAGS) -Wall -O2 $(LDFLAGS) -o $@ $< -static