tests/tcg: move ARM specific tests into subdir

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>
This commit is contained in:
Alex Bennée 2018-04-05 15:45:32 +01:00
parent e571ba67cb
commit c348722c53
6 changed files with 25 additions and 9 deletions

View 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

View File

@ -5,15 +5,6 @@ or they are architecture specific.
ARM
===
hello-arm
---------
test-arm-iwmmxt
---------------
MIPS
====

View File

@ -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

11
tests/tcg/arm/README Normal file
View File

@ -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