diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-01-13 12:35:34 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-01-13 12:35:34 +0000 |
commit | 39d70016d9abe15967f7051741dd5621c659b1f4 (patch) | |
tree | 3c08d8836459598e50744d1b82e49f54725ae42f | |
parent | 86a00f2046f5f5b613bdf18d6c972b495a907c37 (diff) | |
download | qemu-39d70016d9abe15967f7051741dd5621c659b1f4.zip qemu-39d70016d9abe15967f7051741dd5621c659b1f4.tar.gz qemu-39d70016d9abe15967f7051741dd5621c659b1f4.tar.bz2 |
tests/tcg/aarch64: force qarma5 for pauth-3 test
The pauth-3 test explicitly tests that a computation of the
pointer-authentication produces the expected result. This means that
it must be run with the QARMA5 algorithm.
Explicitly set the pauth algorithm when running this test, so that it
doesn't break when we change the default algorithm the 'max' CPU
uses.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | tests/tcg/aarch64/Makefile.softmmu-target | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target index d08d9b0..9c52475 100644 --- a/tests/tcg/aarch64/Makefile.softmmu-target +++ b/tests/tcg/aarch64/Makefile.softmmu-target @@ -91,6 +91,9 @@ EXTRA_RUNS+=run-memory-replay ifneq ($(CROSS_CC_HAS_ARMV8_3),) pauth-3: CFLAGS += $(CROSS_CC_HAS_ARMV8_3) +# This test explicitly checks the output of the pauth operation so we +# must force the use of the QARMA5 algorithm for it. +run-pauth-3: QEMU_BASE_MACHINE=-M virt -cpu max,pauth-qarma5=on -display none else pauth-3: $(call skip-test, "BUILD of $@", "missing compiler support") |