[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/18] tests/tcg/ppc64: clean-up handling of byte-reverse
From: |
Alex Bennée |
Subject: |
[PULL 10/18] tests/tcg/ppc64: clean-up handling of byte-reverse |
Date: |
Tue, 1 Mar 2022 09:47:07 +0000 |
Rather than having an else leg for the missing compiler case we can
simply just not add the test - the same way as is done for ppc64le.
Also while we are at it fix up the compiler invocation.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220225172021.3493923-11-alex.bennee@linaro.org>
diff --git a/tests/tcg/ppc64/Makefile.target b/tests/tcg/ppc64/Makefile.target
index 0368007028..9d6dfc1e26 100644
--- a/tests/tcg/ppc64/Makefile.target
+++ b/tests/tcg/ppc64/Makefile.target
@@ -10,19 +10,14 @@ PPC64_TESTS=bcdsub non_signalling_xscv
endif
$(PPC64_TESTS): CFLAGS += -mpower8-vector
-PPC64_TESTS += byte_reverse
PPC64_TESTS += mtfsf
+
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER10),)
+PPC64_TESTS += byte_reverse
+endif
+byte_reverse: CFLAGS += -mcpu=power10
run-byte_reverse: QEMU_OPTS+=-cpu POWER10
run-plugin-byte_reverse-with-%: QEMU_OPTS+=-cpu POWER10
-else
-byte_reverse:
- $(call skip-test, "BUILD of $@", "missing compiler support")
-run-byte_reverse:
- $(call skip-test, "RUN of byte_reverse", "not built")
-run-plugin-byte_reverse-with-%:
- $(call skip-test, "RUN of byte_reverse ($*)", "not built")
-endif
PPC64_TESTS += signal_save_restore_xer
--
2.30.2
- [PULL 00/18] testing and semihosting updates, Alex Bennée, 2022/03/01
- [PULL 01/18] tests/docker: restore TESTS/IMAGES filtering, Alex Bennée, 2022/03/01
- [PULL 02/18] tests/docker: add NOUSER for alpine image, Alex Bennée, 2022/03/01
- [PULL 03/18] tests/lcitool: update to latest version, Alex Bennée, 2022/03/01
- [PULL 04/18] tests/docker: update debian-arm64-cross with lcitool, Alex Bennée, 2022/03/01
- [PULL 05/18] tests/docker: update debian-s390x-cross with lcitool, Alex Bennée, 2022/03/01
- [PULL 08/18] scripts/ci: allow for a secondary runner, Alex Bennée, 2022/03/01
- [PULL 06/18] tests/docker: introduce debian-riscv64-test-cross, Alex Bennée, 2022/03/01
- [PULL 10/18] tests/tcg/ppc64: clean-up handling of byte-reverse,
Alex Bennée <=
- [PULL 12/18] tests/tcg: add sha512 test, Alex Bennée, 2022/03/01
- [PULL 14/18] travis.yml: Update the s390x jobs to Ubuntu Focal, Alex Bennée, 2022/03/01
- [PULL 09/18] gitlab: add a new aarch32 custom runner definition, Alex Bennée, 2022/03/01
- [PULL 15/18] gitlab: upgrade the job definition for s390x to 20.04, Alex Bennée, 2022/03/01
- [PULL 16/18] tests/tcg: completely disable threadcount for sh4, Alex Bennée, 2022/03/01
- [PULL 13/18] tests/tcg: add vectorised sha512 versions, Alex Bennée, 2022/03/01
- [PULL 07/18] scripts/ci: add build env rules for aarch32 on aarch64, Alex Bennée, 2022/03/01
- [PULL 17/18] semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO, Alex Bennée, 2022/03/01