blob: f5961b06cc8b7fa6a1fb0a5b5f0b83ca881a301a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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
|