xref: /openbmc/qemu/tests/tcg/aarch64/Makefile.target (revision 6c35ed68)
1# -*- Mode: makefile -*-
2#
3# AArch64 specific tweaks
4
5ARM_SRC=$(SRC_PATH)/tests/tcg/arm
6VPATH 		+= $(ARM_SRC)
7
8AARCH64_SRC=$(SRC_PATH)/tests/tcg/aarch64
9VPATH 		+= $(AARCH64_SRC)
10
11# Float-convert Tests
12AARCH64_TESTS=fcvt
13
14fcvt: LDFLAGS+=-lm
15
16run-fcvt: fcvt
17	$(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)")
18	$(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref)
19
20# Pauth Tests
21AARCH64_TESTS += pauth-1 pauth-2
22run-pauth-%: QEMU_OPTS += -cpu max
23
24# Semihosting smoke test for linux-user
25AARCH64_TESTS += semihosting
26run-semihosting: semihosting
27	$(call run-test,$<,$(QEMU) $< 2> $<.err, "$< on $(TARGET_NAME)")
28
29TESTS += $(AARCH64_TESTS)
30