1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PACKAGE= tests 6 7TEST_DIR= ${SRCTOP}/sbin/md5/tests 8 9.PATH: ${TEST_DIR} 10 11FILESGROUPS+= FILESinputs 12FILESinputsPACKAGE= ${PACKAGE} 13FILESinputsDIR= ${TESTSDIR} 14FILESinputs!= echo ${TEST_DIR}/*.inp ${TEST_DIR}/*.in 15 16FILESGROUPS+= FILESchkfiles 17FILESchkfilesPACKAGE= ${PACKAGE} 18FILESchkfilesDIR= ${TESTSDIR} 19FILESchkfiles!= echo ${TEST_DIR}/*.chk 20 21FILESGROUPS+= FILESdigests 22FILESdigestsPACKAGE= ${PACKAGE} 23FILESdigestsDIR= ${TESTSDIR} 24FILESdigests!= echo ${TEST_DIR}/*.digest 25 26FILESGROUPS+= FILESparam 27FILESparamPACKAGE= ${PACKAGE} 28FILESparamDIR= ${TESTSDIR} 29FILESparam!= echo ${TEST_DIR}/*.txt 30 31ATF_TESTS_SH+= md5_test 32 33PLAIN_TESTS_SH+= self-test 34PLAIN_TESTS_SH+= bsd-c-test 35PLAIN_TESTS_SH+= bsd-p-test 36PLAIN_TESTS_SH+= bsd-s-test 37PLAIN_TESTS_SH+= coreutils-c-test 38 39.SUFFIXES: .SH 40 41.SH.sh: 42 sed 's|%%TESTSBASE%%|${TESTSBASE}|g' ${.ALLSRC} > ${.TARGET} 43 44.include <bsd.test.mk> 45