Skip to content

Commit 39d7001

Browse files
committed
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 <[email protected]>
1 parent 86a00f2 commit 39d7001

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/tcg/aarch64/Makefile.softmmu-target

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ EXTRA_RUNS+=run-memory-replay
9191

9292
ifneq ($(CROSS_CC_HAS_ARMV8_3),)
9393
pauth-3: CFLAGS += $(CROSS_CC_HAS_ARMV8_3)
94+
# This test explicitly checks the output of the pauth operation so we
95+
# must force the use of the QARMA5 algorithm for it.
96+
run-pauth-3: QEMU_BASE_MACHINE=-M virt -cpu max,pauth-qarma5=on -display none
9497
else
9598
pauth-3:
9699
$(call skip-test, "BUILD of $@", "missing compiler support")

0 commit comments

Comments
 (0)