tests/tcg: ensure -cpu max also used for plugin run
The check-tcg plugins build was failing because some special case tests that needed -cpu max failed because the plugin variant hadn't carried across the QEMU_OPTS tweak. Guests which globally set QEMU_OPTS=-cpu FOO where unaffected. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200615141922.18829-3-alex.bennee@linaro.org>
This commit is contained in:
parent
fefa027154
commit
d16242e524
@ -20,8 +20,9 @@ run-fcvt: fcvt
|
|||||||
# Pauth Tests
|
# Pauth Tests
|
||||||
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_ARMV8_3),)
|
ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_ARMV8_3),)
|
||||||
AARCH64_TESTS += pauth-1 pauth-2 pauth-4
|
AARCH64_TESTS += pauth-1 pauth-2 pauth-4
|
||||||
run-pauth-%: QEMU_OPTS += -cpu max
|
|
||||||
pauth-%: CFLAGS += -march=armv8.3-a
|
pauth-%: CFLAGS += -march=armv8.3-a
|
||||||
|
run-pauth-%: QEMU_OPTS += -cpu max
|
||||||
|
run-plugin-pauth-%: QEMU_OPTS += -cpu max
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Semihosting smoke test for linux-user
|
# Semihosting smoke test for linux-user
|
||||||
|
@ -12,6 +12,7 @@ X86_64_TESTS:=$(filter test-i386-ssse3, $(ALL_X86_TESTS))
|
|||||||
|
|
||||||
test-i386-pcmpistri: CFLAGS += -msse4.2
|
test-i386-pcmpistri: CFLAGS += -msse4.2
|
||||||
run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
|
run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
|
||||||
|
run-plugin-test-i386-pcmpistri-%: QEMU_OPTS += -cpu max
|
||||||
|
|
||||||
#
|
#
|
||||||
# hello-i386 is a barebones app
|
# hello-i386 is a barebones app
|
||||||
|
Loading…
Reference in New Issue
Block a user