]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/tcg: move ARM specific tests into subdir
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 5 Apr 2018 14:45:32 +0000 (15:45 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:34 +0000 (20:22 +0100)
These only need to be built for ARM guests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
MAINTAINERS
tests/tcg/README
tests/tcg/arm/Makefile.target [new file with mode: 0644]
tests/tcg/arm/README [new file with mode: 0644]
tests/tcg/arm/hello-arm.c [moved from tests/tcg/hello-arm.c with 100% similarity]
tests/tcg/arm/test-arm-iwmmxt.s [moved from tests/tcg/test-arm-iwmmxt.s with 100% similarity]

index 096b5bbf61205648dbf280ff8f0e68ae4ee23649..a6d233a43a34d8dbf6bacd1b0759e1ef14963df9 100644 (file)
@@ -135,6 +135,7 @@ M: Peter Maydell <peter.maydell@linaro.org>
 L: qemu-arm@nongnu.org
 S: Maintained
 F: target/arm/
+F: tests/tcg/arm/
 F: hw/arm/
 F: hw/cpu/a*mpcore.c
 F: include/hw/cpu/a*mpcore.h
index 469504c4cb048a98ecae10f5ab2b322bd10a1d4c..625f2326e67463f7e13151832eaf53e1fa45929e 100644 (file)
@@ -5,15 +5,6 @@ or they are architecture specific.
 
 
 
-ARM
-===
-
-hello-arm
----------
-
-test-arm-iwmmxt
----------------
-
 MIPS
 ====
 
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
new file mode 100644 (file)
index 0000000..bc6962e
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- Mode: makefile -*-
+#
+# ARM - included from tests/tcg/Makefile.target
+#
+
+ARM_SRC=$(SRC_PATH)/tests/tcg/arm
+
+# Set search path for all sources
+VPATH          += $(ARM_SRC)
+
+
+hello-arm: CFLAGS+=-marm -ffreestanding
+hello-arm: LDFLAGS+=-nostdlib
diff --git a/tests/tcg/arm/README b/tests/tcg/arm/README
new file mode 100644 (file)
index 0000000..e630711
--- /dev/null
@@ -0,0 +1,11 @@
+These are ARM specific guest programs
+
+hello-arm
+---------
+
+A very simple inline assembly, write syscall based hello world
+
+test-arm-iwmmxt
+---------------
+
+A simple test case for older iwmmxt extended ARMs