freebsd-src/tests/sys/compat32/aarch64/Makefile
Jessica Clarke 28f66935d4 tests: Disable sys/compat32 and sys/compat32/aarch64 tests
The former has build system issues, with missing Kyuafiles, presumably
due to not using TESTS_SUBDIRS and bsd.test.mk (and possibly some issues
on top of that around TESTSDIR and related variables). The latter has
issues with GCC and cut-down LLVM builds.

Requested by:	kevans
Fixes:		ccb59683b9 ("arm64: add tests for swp/swpb emulation")
2023-05-15 23:16:40 +01:00

28 lines
680 B
Makefile

# XXX: Doesn't work with GCC and requires an LLVM with the ARM backend
.if 0
PACKAGE= tests
FILESGROUPS+= asmprogs
ACFLAGS= -target armv7-unknown-freebsd${OS_REVISION} -nostdlib -Wl,-e -Wl,main -static
TAP_TESTS_SH+= swp_cond_test
TAP_TESTS_SH+= swp_test
${PACKAGE}FILES+= common.sh
# Each test will individually respect the compat.arm.emul_swp
# sysctl upon entry.
TEST_METADATA.swp_cond_test+= is_exclusive=true
TEST_METADATA.swp_test+= is_exclusive=true
asmprogsMODE= 0755
asmprogs+= swp_cond_test_impl swp_test_impl
asmprogsDIR= ${TESTSDIR}
.for aprog in ${asmprogs}
${aprog}: ${aprog}.S
${CC} ${ACFLAGS} -o ${.TARGET} ${.ALLSRC}
.endfor
.include <bsd.test.mk>
.endif