aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/x86_64
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-09-17 17:23:24 +0100
committerAlex Bennée <alex.bennee@linaro.org>2021-10-12 08:37:05 +0100
commit5343a837cdb0e10db05310e0da5a89843539b400 (patch)
treee4f98ab9cd8bf3c7404e10b8551561d18f076c7e /tests/tcg/x86_64
parent4f0ebed41809531e4e84658b8ac1742c4ba6966a (diff)
downloadqemu-5343a837cdb0e10db05310e0da5a89843539b400.zip
qemu-5343a837cdb0e10db05310e0da5a89843539b400.tar.gz
qemu-5343a837cdb0e10db05310e0da5a89843539b400.tar.bz2
tests/tcg: move some multiarch files and make conditional
We had some messy code to filter out stuff we can't build. Lets junk that and simplify the logic by pushing some stuff into subdirs. In particular we move: float_helpers into libs - not a standalone test linux-test into linux - so we only build on Linux hosts This allows for at least some of the tests to be nominally usable by *BSD user builds. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Cc: Warner Losh <imp@bsdimp.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20210917162332.3511179-4-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/x86_64')
-rw-r--r--tests/tcg/x86_64/Makefile.target4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/x86_64/Makefile.target b/tests/tcg/x86_64/Makefile.target
index 2151ea6..d7a7385 100644
--- a/tests/tcg/x86_64/Makefile.target
+++ b/tests/tcg/x86_64/Makefile.target
@@ -8,8 +8,12 @@
include $(SRC_PATH)/tests/tcg/i386/Makefile.target
+ifneq ($(CONFIG_LINUX),)
X86_64_TESTS += vsyscall
TESTS=$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64
+else
+TESTS=$(MULTIARCH_TESTS)
+endif
QEMU_OPTS += -cpu max
test-x86_64: LDFLAGS+=-lm -lc