summaryrefslogtreecommitdiffstats
path: root/tests/tcg/aarch64
diff options
context:
space:
mode:
authorAlex Bennée2019-09-19 15:18:41 +0200
committerPeter Maydell2019-09-27 12:41:32 +0200
commit83704ceff1b81b750f50464643084aa7cc5608fb (patch)
treedc259b8152d5f3c318c8949dc79ad05a1899a5e3 /tests/tcg/aarch64
parenttarget/arm: remove run-time semihosting checks for linux-user (diff)
downloadqemu-83704ceff1b81b750f50464643084aa7cc5608fb.tar.gz
qemu-83704ceff1b81b750f50464643084aa7cc5608fb.tar.xz
qemu-83704ceff1b81b750f50464643084aa7cc5608fb.zip
tests/tcg: add linux-user semihosting smoke test for ARM
We already use semihosting for the system stuff so this is a simple smoke test to ensure we are working OK on linux-user. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20190913151845.12582-7-alex.bennee@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/tcg/aarch64')
-rw-r--r--tests/tcg/aarch64/Makefile.target5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile.target
index 9758f89f90..509f1afa93 100644
--- a/tests/tcg/aarch64/Makefile.target
+++ b/tests/tcg/aarch64/Makefile.target
@@ -21,4 +21,9 @@ run-fcvt: fcvt
AARCH64_TESTS += pauth-1 pauth-2
run-pauth-%: QEMU_OPTS += -cpu max
+# Semihosting smoke test for linux-user
+AARCH64_TESTS += semihosting
+run-semihosting: semihosting
+ $(call run-test,$<,$(QEMU) $< 2> $<.err, "$< on $(TARGET_NAME)")
+
TESTS += $(AARCH64_TESTS)