83704ceff1
We already use semihosting for the system stuff so this is a simple smoke test to ensure we are working OK on linux-user. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20190913151845.12582-7-alex.bennee@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
30 lines
633 B
Makefile
30 lines
633 B
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# AArch64 specific tweaks
|
|
|
|
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
|
|
VPATH += $(ARM_SRC)
|
|
|
|
AARCH64_SRC=$(SRC_PATH)/tests/tcg/aarch64
|
|
VPATH += $(AARCH64_SRC)
|
|
|
|
# Float-convert Tests
|
|
AARCH64_TESTS=fcvt
|
|
|
|
fcvt: LDFLAGS+=-lm
|
|
|
|
run-fcvt: fcvt
|
|
$(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)")
|
|
$(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref)
|
|
|
|
# Pauth Tests
|
|
AARCH64_TESTS += pauth-1 pauth-2
|
|
run-pauth-%: QEMU_OPTS += -cpu max
|
|
|
|
# Semihosting smoke test for linux-user
|
|
AARCH64_TESTS += semihosting
|
|
run-semihosting: semihosting
|
|
$(call run-test,$<,$(QEMU) $< 2> $<.err, "$< on $(TARGET_NAME)")
|
|
|
|
TESTS += $(AARCH64_TESTS)
|