summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-13 16:39:48 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-13 16:39:48 +0100
commitfe068dc293ca2bfeb19a331c3b964be7b83ef4bb (patch)
treeba2aa5c132798f981176645c74395610df8b0558
parentfd86bdc7a00bb8ed736fff3efe331be2fcdf78ba (diff)
semihosting tests: Update comment to say how much testing we do
Update an out of date comment, since we do system mode tests too now. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e215f5d..9b5f73c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,18 @@
# A32 vs T32 vs A64
# usermode vs system
# gdb syscalls vs normal
-#
-# For the moment this is only testing usermode.
+
+# This makefile tests all of the instruction set and user/system cases.
+# It doesn't try to test gdb syscalls, though you can do this by
+# attaching a gdb debugger to the test program. (Note that the debugger's
+# working directory has to be the directory with the testdata.txt file
+# in it, since filenames are resolved by the debugger in that setup.)
+
+# short instructions:
+# make run QEMU_BUILDDIR=path-to-your-builddir
+
+# TODO: compare test output against a golden reference rather
+# than just letting it dump to stdout/stderr.
A32GCC := arm-linux-gnueabihf-gcc -marm
T32GCC := arm-linux-gnueabihf-gcc -mthumb