aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/aarch64/Makefile.softmmu-target
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-02-03 09:09:28 +0000
committerAlex Bennée <alex.bennee@linaro.org>2020-02-04 17:13:29 +0000
commitbb516dfc5b389d1f557752715891a3eedef136f4 (patch)
treea10f1cfbdd83aa90669947d38f34e7f4e31b8324 /tests/tcg/aarch64/Makefile.softmmu-target
parentded663a226de48892ce7a2875c7bca579b65080c (diff)
tests/tcg: gate pauth-% tests on having compiler support
Otherwise we end up failing to build our tests on CI which may have older compilers that the user expects. We can get rid of this once we can fallback to multiarch containers. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200203090932.19147-14-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/aarch64/Makefile.softmmu-target')
-rw-r--r--tests/tcg/aarch64/Makefile.softmmu-target12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target
index f6b5121f5c..d2299b98b7 100644
--- a/tests/tcg/aarch64/Makefile.softmmu-target
+++ b/tests/tcg/aarch64/Makefile.softmmu-target
@@ -61,7 +61,13 @@ run-memory-replay: memory-replay run-memory-record
$(QEMU_OPTS) memory, \
"$< on $(TARGET_NAME)")
-run-pauth-3: pauth-3
-pauth-3: CFLAGS += -march=armv8.3-a
+EXTRA_TESTS+=memory-record memory-replay
-EXTRA_TESTS+=memory-record memory-replay pauth-3
+ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_ARMV8_3),)
+pauth-3: CFLAGS += -march=armv8.3-a
+else
+pauth-3:
+ $(call skip-test, "BUILD of $@", "missing compiler support")
+run-pauth-3:
+ $(call skip-test, "RUN of pauth-3", "not built")
+endif