1*ccb59683SKyle EvansPACKAGE= tests 2*ccb59683SKyle EvansFILESGROUPS+= asmprogs 3*ccb59683SKyle Evans 4*ccb59683SKyle EvansACFLAGS= -target armv7-unknown-freebsd${OS_REVISION} -nostdlib -Wl,-e -Wl,main -static 5*ccb59683SKyle Evans 6*ccb59683SKyle EvansTAP_TESTS_SH+= swp_cond_test 7*ccb59683SKyle EvansTAP_TESTS_SH+= swp_test 8*ccb59683SKyle Evans${PACKAGE}FILES+= common.sh 9*ccb59683SKyle Evans 10*ccb59683SKyle Evans# Each test will individually respect the compat.arm.emul_swp 11*ccb59683SKyle Evans# sysctl upon entry. 12*ccb59683SKyle EvansTEST_METADATA.swp_cond_test+= is_exclusive=true 13*ccb59683SKyle EvansTEST_METADATA.swp_test+= is_exclusive=true 14*ccb59683SKyle Evans 15*ccb59683SKyle EvansasmprogsMODE= 0755 16*ccb59683SKyle Evansasmprogs+= swp_cond_test_impl swp_test_impl 17*ccb59683SKyle EvansasmprogsDIR= ${TESTSDIR} 18*ccb59683SKyle Evans 19*ccb59683SKyle Evans.for aprog in ${asmprogs} 20*ccb59683SKyle Evans${aprog}: ${aprog}.S 21*ccb59683SKyle Evans ${CC} ${ACFLAGS} -o ${.TARGET} ${.ALLSRC} 22*ccb59683SKyle Evans.endfor 23*ccb59683SKyle Evans 24*ccb59683SKyle Evans.include <bsd.test.mk> 25