diff options
| author | Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> | 2026-08-27 22:14:49 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2026-09-04 16:06:22 +0100 |
| commit | aca5ea9f46ef93140ea0f2ecec681a39f0e30124 (patch) | |
| tree | 9eb03074c0d77f05eeabaa5b2a60fd4d542f5067 /tests | |
| parent | 55948e34b19fb4c55835861f224bb340a73ff243 (diff) | |
| download | qemu-aca5ea9f46ef93140ea0f2ecec681a39f0e30124.tar.gz qemu-aca5ea9f46ef93140ea0f2ecec681a39f0e30124.zip | |
tests/tcg/sh4: user tests
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Tested-by: Aniket Sahu <asahu1x@linux.ibm.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Message-ID: <20260827221506.91574-89-pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tcg/meson.build | 1 | ||||
| -rw-r--r-- | tests/tcg/sh4/Makefile.target | 18 | ||||
| -rw-r--r-- | tests/tcg/sh4/meson.build | 25 |
3 files changed, 26 insertions, 18 deletions
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build index 6bc2829ba9..1c34b8e63c 100644 --- a/tests/tcg/meson.build +++ b/tests/tcg/meson.build @@ -153,6 +153,7 @@ subdir('ppc64') subdir('ppc64le') subdir('riscv64') subdir('s390x') +subdir('sh4') image_targets = {} exe_targets = [] diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target deleted file mode 100644 index b7a8737be0..0000000000 --- a/tests/tcg/sh4/Makefile.target +++ /dev/null @@ -1,18 +0,0 @@ -# -*- Mode: makefile -*- -# -# SuperH specific tweaks -# - -VPATH += $(SRC_PATH)/tests/tcg/sh4 - -test-macl: CFLAGS += -O -g -TESTS += test-macl - -test-macw: CFLAGS += -O -g -TESTS += test-macw - -test-addv: CFLAGS += -O -g -TESTS += test-addv - -test-subv: CFLAGS += -O -g -TESTS += test-subv diff --git a/tests/tcg/sh4/meson.build b/tests/tcg/sh4/meson.build new file mode 100644 index 0000000000..d73df07449 --- /dev/null +++ b/tests/tcg/sh4/meson.build @@ -0,0 +1,25 @@ +tests = [] + +tests += tcg_tests['multiarch-linux-user']['tests'] + +tests += { + 'test-addv.c': {}, + 'test-macl.c': {}, + 'test-macw.c': {}, + 'test-subv.c': {}, +} + +if 'qemu-sh4' in emulators + tcg_tests += { + 'sh4-linux-user': { + 'cc': 'sh4-linux-gnu-gcc', + 'cc_dockerfile': 'debian-all-test-cross', + 'cc_docker_host_arch': ['aarch64', 'x86_64'], + 'cc_feat_cflags': cc_feat_cflags, + 'folder': 'sh4', + 'gdb_arch': 'sh4', + 'qemu': emulators['qemu-sh4'], + 'tests': tests, + } + } +endif |
