summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-13 16:20:26 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-13 16:20:26 +0100
commit9e63052ee30722dc9ce03331092e68b31444970c (patch)
treed9f0da2efd9ea7d1d3a8f1afe20acec796ef337e
parent1de607aa09fcf61aa21354f34447c3b542bf2931 (diff)
semihosting tests: Add makefile lines to run system tests
Add the necessary makefile support to run the system tests of semihosting. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d21f51..e215f5d 100644
--- a/Makefile
+++ b/Makefile
@@ -72,4 +72,15 @@ run-usertest-t32: usertest-t32
run-usertest-a64: usertest-a64
$(QEMU_AARCH64) usertest-a64
-run: run-usertest-a32 run-usertest-t32 run-usertest-a64
+run-systest-a32: systest-a32.axf
+ $(QEMU_SYSTEM_ARM) -M virt --display none --semihosting -kernel $^
+
+run-systest-t32: systest-t32.axf
+ $(QEMU_SYSTEM_ARM) -M virt --display none --semihosting -kernel $^
+
+run-systest-a64: systest-a64.axf
+ $(QEMU_SYSTEM_AARCH64) -M virt --display none --semihosting \
+ -cpu cortex-a57 -kernel $^
+
+run: run-usertest-a32 run-usertest-t32 run-usertest-a64 \
+ run-systest-a32 run-systest-t32 run-systest-a64