1f022d2cdSStefan Eßer.include <bsd.own.mk> 2f022d2cdSStefan Eßer 3f022d2cdSStefan EßerPACKAGE= tests 4f022d2cdSStefan Eßer 5f022d2cdSStefan EßerTEST_DIR= ${SRCTOP}/contrib/bc 6f022d2cdSStefan Eßer 7f022d2cdSStefan EßerTESTSDIR= ${TESTSBASE}/usr.bin/gh-bc 8f022d2cdSStefan Eßer 9f022d2cdSStefan Eßer.PATH: ${SRCTOP}/tests 10f022d2cdSStefan Eßer 11f022d2cdSStefan EßerFILESGROUPS+= FILESf 12f022d2cdSStefan EßerFILESfPACKAGE= ${PACKAGE} 1344d4804dSStefan EßerFILESfDIR= ${TESTSDIR}/scripts 1444d4804dSStefan EßerFILESf= ${TEST_DIR}/scripts/functions.sh 15f022d2cdSStefan EßerFILESfMODE= 0755 16f022d2cdSStefan Eßer 17f022d2cdSStefan EßerFILESGROUPS+= FILEStests 18f022d2cdSStefan EßerFILEStestsPACKAGE= ${PACKAGE} 19f022d2cdSStefan EßerFILEStestsDIR= ${TESTSDIR}/tests 20f022d2cdSStefan EßerFILEStests!= echo ${TEST_DIR}/tests/*.py ${TEST_DIR}/tests/*.sh ${TEST_DIR}/tests/*.txt 21f022d2cdSStefan EßerFILEStestsMODE= 0755 22f022d2cdSStefan Eßer 23f022d2cdSStefan EßerFILESGROUPS+= FILESbc 24f022d2cdSStefan EßerFILESbcPACKAGE= ${PACKAGE} 25f022d2cdSStefan EßerFILESbcDIR= ${TESTSDIR}/tests/bc 26f022d2cdSStefan EßerFILESbc!= echo ${TEST_DIR}/tests/bc/*.* 27f022d2cdSStefan Eßer 28f022d2cdSStefan EßerFILESGROUPS+= FILESbc_errors 29f022d2cdSStefan EßerFILESbc_errorsPACKAGE= ${PACKAGE} 30f022d2cdSStefan EßerFILESbc_errorsDIR= ${TESTSDIR}/tests/bc/errors 31f022d2cdSStefan EßerFILESbc_errors!= echo ${TEST_DIR}/tests/bc/errors/*.* 32f022d2cdSStefan Eßer 33f022d2cdSStefan EßerFILESGROUPS+= FILESbc_scripts 34f022d2cdSStefan EßerFILESbc_scriptsPACKAGE= ${PACKAGE} 35f022d2cdSStefan EßerFILESbc_scriptsDIR= ${TESTSDIR}/tests/bc/scripts 36f022d2cdSStefan EßerFILESbc_scripts!= echo ${TEST_DIR}/tests/bc/scripts/*.* 37f022d2cdSStefan EßerFILESbc_scriptsMODE= 0755 38f022d2cdSStefan Eßer 39f022d2cdSStefan EßerFILESGROUPS+= FILESdc 40f022d2cdSStefan EßerFILESdcPACKAGE= ${PACKAGE} 41f022d2cdSStefan EßerFILESdcDIR= ${TESTSDIR}/tests/dc 42f022d2cdSStefan EßerFILESdc!= echo ${TEST_DIR}/tests/dc/*.* 43f022d2cdSStefan Eßer 44f022d2cdSStefan EßerFILESGROUPS+= FILESdc_errors 45f022d2cdSStefan EßerFILESdc_errorsPACKAGE= ${PACKAGE} 46f022d2cdSStefan EßerFILESdc_errorsDIR= ${TESTSDIR}/tests/dc/errors 47f022d2cdSStefan EßerFILESdc_errors!= echo ${TEST_DIR}/tests/dc/errors/*.* 48f022d2cdSStefan Eßer 49f022d2cdSStefan EßerFILESGROUPS+= FILESdc_scripts 50f022d2cdSStefan EßerFILESdc_scriptsPACKAGE= ${PACKAGE} 51f022d2cdSStefan EßerFILESdc_scriptsDIR= ${TESTSDIR}/tests/dc/scripts 52f022d2cdSStefan EßerFILESdc_scripts!= echo ${TEST_DIR}/tests/dc/scripts/*.* 53f022d2cdSStefan EßerFILESdc_scriptsMODE= 0755 54f022d2cdSStefan Eßer 55f022d2cdSStefan EßerPLAIN_TESTS_SH= bc_tests dc_tests 56f022d2cdSStefan Eßer 57f022d2cdSStefan Eßerbc_tests.sh: 58f022d2cdSStefan Eßer echo "#!/bin/sh" > ${.TARGET} 59*fdd4c358SStefan Eßer echo "env LANG=C ${TESTSDIR}/tests/all.sh bc 1 1 0 0 0 bc" >> ${.TARGET} 60f022d2cdSStefan Eßer 61f022d2cdSStefan Eßerdc_tests.sh: 62f022d2cdSStefan Eßer echo "#!/bin/sh" > ${.TARGET} 63*fdd4c358SStefan Eßer echo "env LANG=C ${TESTSDIR}/tests/all.sh dc 1 1 0 0 0 dc" >> ${.TARGET} 64f022d2cdSStefan Eßer 65f022d2cdSStefan Eßer.include <bsd.test.mk> 66