d044b7c33a
Running every plugin with every test is getting excessive as well as not really improving coverage that much. Restrict the plugin tests to just the MULTIARCH_TESTS which are shared between most architecture for both system and user-mode. For those that aren't we need to squash MULTIARCH_TESTS so we don't add them when they are not part of the TESTS global. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230424092249.58552-14-alex.bennee@linaro.org>
29 lines
646 B
Makefile
29 lines
646 B
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# ARM SoftMMU tests - included from tests/tcg/Makefile
|
|
#
|
|
|
|
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
|
|
|
|
# Set search path for all sources
|
|
VPATH += $(ARM_SRC)
|
|
|
|
ARM_TESTS=test-armv6m-undef
|
|
|
|
TESTS += $(ARM_TESTS)
|
|
|
|
CFLAGS+=-Wl,--build-id=none -x assembler-with-cpp
|
|
LDFLAGS+=-nostdlib -N -static
|
|
|
|
%: %.S %.ld
|
|
$(CC) $(CFLAGS) $(ASFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) -T $(ARM_SRC)/$@.ld
|
|
|
|
# Specific Test Rules
|
|
|
|
test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0 -mfloat-abi=soft
|
|
|
|
run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
|
|
|
|
# We don't currently support the multiarch system tests
|
|
undefine MULTIARCH_TESTS
|