mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 22:25:22 +00:00
28f66935d4
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")
28 lines
680 B
Makefile
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
|