1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PACKAGE= tests 6 7WARNS?= 1 8 9LIBXOSRC= ${SRCTOP}/contrib/libxo 10 11# Override the default suffix transformation rules for .c/.o -> .out 12.SUFFIXES: 13.SUFFIXES: .c .err .o .out .sh 14 15.PATH: 16.PATH.c: ${LIBXOSRC}/libxo ${LIBXOSRC}/tests/core 17.PATH.err: ${LIBXOSRC}/tests/core/saved 18.PATH.out: ${LIBXOSRC}/tests/core/saved 19 20.c.out .o.out: 21 22ATF_TESTS_SH+= functional_test 23 24BINDIR= ${TESTSDIR} 25 26${PACKAGE}FILES+= test_01.E.err 27${PACKAGE}FILES+= test_01.E.out 28${PACKAGE}FILES+= test_01.H.err 29${PACKAGE}FILES+= test_01.H.out 30${PACKAGE}FILES+= test_01.HIPx.err 31${PACKAGE}FILES+= test_01.HIPx.out 32${PACKAGE}FILES+= test_01.HP.err 33${PACKAGE}FILES+= test_01.HP.out 34${PACKAGE}FILES+= test_01.J.err 35${PACKAGE}FILES+= test_01.J.out 36${PACKAGE}FILES+= test_01.JP.err 37${PACKAGE}FILES+= test_01.JP.out 38${PACKAGE}FILES+= test_01.T.err 39${PACKAGE}FILES+= test_01.T.out 40${PACKAGE}FILES+= test_01.X.err 41${PACKAGE}FILES+= test_01.X.out 42${PACKAGE}FILES+= test_01.XP.err 43${PACKAGE}FILES+= test_01.XP.out 44${PACKAGE}FILES+= test_01.err 45${PACKAGE}FILES+= test_01.out 46${PACKAGE}FILES+= test_02.E.err 47${PACKAGE}FILES+= test_02.E.out 48${PACKAGE}FILES+= test_02.H.err 49${PACKAGE}FILES+= test_02.H.out 50${PACKAGE}FILES+= test_02.HIPx.err 51${PACKAGE}FILES+= test_02.HIPx.out 52${PACKAGE}FILES+= test_02.HP.err 53${PACKAGE}FILES+= test_02.HP.out 54${PACKAGE}FILES+= test_02.J.err 55${PACKAGE}FILES+= test_02.J.out 56${PACKAGE}FILES+= test_02.JP.err 57${PACKAGE}FILES+= test_02.JP.out 58${PACKAGE}FILES+= test_02.T.err 59${PACKAGE}FILES+= test_02.T.out 60${PACKAGE}FILES+= test_02.X.err 61${PACKAGE}FILES+= test_02.X.out 62${PACKAGE}FILES+= test_02.XP.err 63${PACKAGE}FILES+= test_02.XP.out 64${PACKAGE}FILES+= test_02.err 65${PACKAGE}FILES+= test_02.out 66${PACKAGE}FILES+= test_03.E.err 67${PACKAGE}FILES+= test_03.E.out 68${PACKAGE}FILES+= test_03.H.err 69${PACKAGE}FILES+= test_03.H.out 70${PACKAGE}FILES+= test_03.HIPx.err 71${PACKAGE}FILES+= test_03.HIPx.out 72${PACKAGE}FILES+= test_03.HP.err 73${PACKAGE}FILES+= test_03.HP.out 74${PACKAGE}FILES+= test_03.J.err 75${PACKAGE}FILES+= test_03.J.out 76${PACKAGE}FILES+= test_03.JP.err 77${PACKAGE}FILES+= test_03.JP.out 78${PACKAGE}FILES+= test_03.T.err 79${PACKAGE}FILES+= test_03.T.out 80${PACKAGE}FILES+= test_03.X.err 81${PACKAGE}FILES+= test_03.X.out 82${PACKAGE}FILES+= test_03.XP.err 83${PACKAGE}FILES+= test_03.XP.out 84${PACKAGE}FILES+= test_03.err 85${PACKAGE}FILES+= test_03.out 86${PACKAGE}FILES+= test_04.E.err 87${PACKAGE}FILES+= test_04.E.out 88${PACKAGE}FILES+= test_04.H.err 89${PACKAGE}FILES+= test_04.H.out 90${PACKAGE}FILES+= test_04.HIPx.err 91${PACKAGE}FILES+= test_04.HIPx.out 92${PACKAGE}FILES+= test_04.HP.err 93${PACKAGE}FILES+= test_04.HP.out 94${PACKAGE}FILES+= test_04.J.err 95${PACKAGE}FILES+= test_04.J.out 96${PACKAGE}FILES+= test_04.JP.err 97${PACKAGE}FILES+= test_04.JP.out 98${PACKAGE}FILES+= test_04.T.err 99${PACKAGE}FILES+= test_04.T.out 100${PACKAGE}FILES+= test_04.X.err 101${PACKAGE}FILES+= test_04.X.out 102${PACKAGE}FILES+= test_04.XP.err 103${PACKAGE}FILES+= test_04.XP.out 104${PACKAGE}FILES+= test_05.E.err 105${PACKAGE}FILES+= test_05.E.out 106${PACKAGE}FILES+= test_05.H.err 107${PACKAGE}FILES+= test_05.H.out 108${PACKAGE}FILES+= test_05.HIPx.err 109${PACKAGE}FILES+= test_05.HIPx.out 110${PACKAGE}FILES+= test_05.HP.err 111${PACKAGE}FILES+= test_05.HP.out 112${PACKAGE}FILES+= test_05.J.err 113${PACKAGE}FILES+= test_05.J.out 114${PACKAGE}FILES+= test_05.JP.err 115${PACKAGE}FILES+= test_05.JP.out 116${PACKAGE}FILES+= test_05.T.err 117${PACKAGE}FILES+= test_05.T.out 118${PACKAGE}FILES+= test_05.X.err 119${PACKAGE}FILES+= test_05.X.out 120${PACKAGE}FILES+= test_05.XP.err 121${PACKAGE}FILES+= test_05.XP.out 122${PACKAGE}FILES+= test_06.E.err 123${PACKAGE}FILES+= test_06.E.out 124${PACKAGE}FILES+= test_06.H.err 125${PACKAGE}FILES+= test_06.H.out 126${PACKAGE}FILES+= test_06.HIPx.err 127${PACKAGE}FILES+= test_06.HIPx.out 128${PACKAGE}FILES+= test_06.HP.err 129${PACKAGE}FILES+= test_06.HP.out 130${PACKAGE}FILES+= test_06.J.err 131${PACKAGE}FILES+= test_06.J.out 132${PACKAGE}FILES+= test_06.JP.err 133${PACKAGE}FILES+= test_06.JP.out 134${PACKAGE}FILES+= test_06.T.err 135${PACKAGE}FILES+= test_06.T.out 136${PACKAGE}FILES+= test_06.X.err 137${PACKAGE}FILES+= test_06.X.out 138${PACKAGE}FILES+= test_06.XP.err 139${PACKAGE}FILES+= test_06.XP.out 140${PACKAGE}FILES+= test_07.E.err 141${PACKAGE}FILES+= test_07.E.out 142${PACKAGE}FILES+= test_07.H.err 143${PACKAGE}FILES+= test_07.H.out 144${PACKAGE}FILES+= test_07.HIPx.err 145${PACKAGE}FILES+= test_07.HIPx.out 146${PACKAGE}FILES+= test_07.HP.err 147${PACKAGE}FILES+= test_07.HP.out 148${PACKAGE}FILES+= test_07.J.err 149${PACKAGE}FILES+= test_07.J.out 150${PACKAGE}FILES+= test_07.JP.err 151${PACKAGE}FILES+= test_07.JP.out 152${PACKAGE}FILES+= test_07.T.err 153${PACKAGE}FILES+= test_07.T.out 154${PACKAGE}FILES+= test_07.X.err 155${PACKAGE}FILES+= test_07.X.out 156${PACKAGE}FILES+= test_07.XP.err 157${PACKAGE}FILES+= test_07.XP.out 158${PACKAGE}FILES+= test_08.E.err 159${PACKAGE}FILES+= test_08.E.out 160${PACKAGE}FILES+= test_08.H.err 161${PACKAGE}FILES+= test_08.H.out 162${PACKAGE}FILES+= test_08.HIPx.err 163${PACKAGE}FILES+= test_08.HIPx.out 164${PACKAGE}FILES+= test_08.HP.err 165${PACKAGE}FILES+= test_08.HP.out 166${PACKAGE}FILES+= test_08.J.err 167${PACKAGE}FILES+= test_08.J.out 168${PACKAGE}FILES+= test_08.JP.err 169${PACKAGE}FILES+= test_08.JP.out 170${PACKAGE}FILES+= test_08.T.err 171${PACKAGE}FILES+= test_08.T.out 172${PACKAGE}FILES+= test_08.X.err 173${PACKAGE}FILES+= test_08.X.out 174${PACKAGE}FILES+= test_08.XP.err 175${PACKAGE}FILES+= test_08.XP.out 176${PACKAGE}FILES+= test_09.E.err 177${PACKAGE}FILES+= test_09.E.out 178${PACKAGE}FILES+= test_09.H.err 179${PACKAGE}FILES+= test_09.H.out 180${PACKAGE}FILES+= test_09.HIPx.err 181${PACKAGE}FILES+= test_09.HIPx.out 182${PACKAGE}FILES+= test_09.HP.err 183${PACKAGE}FILES+= test_09.HP.out 184${PACKAGE}FILES+= test_09.J.err 185${PACKAGE}FILES+= test_09.J.out 186${PACKAGE}FILES+= test_09.JP.err 187${PACKAGE}FILES+= test_09.JP.out 188${PACKAGE}FILES+= test_09.T.err 189${PACKAGE}FILES+= test_09.T.out 190${PACKAGE}FILES+= test_09.X.err 191${PACKAGE}FILES+= test_09.X.out 192${PACKAGE}FILES+= test_09.XP.err 193${PACKAGE}FILES+= test_09.XP.out 194${PACKAGE}FILES+= test_10.E.err 195${PACKAGE}FILES+= test_10.E.out 196${PACKAGE}FILES+= test_10.H.err 197${PACKAGE}FILES+= test_10.H.out 198${PACKAGE}FILES+= test_10.HIPx.err 199${PACKAGE}FILES+= test_10.HIPx.out 200${PACKAGE}FILES+= test_10.HP.err 201${PACKAGE}FILES+= test_10.HP.out 202${PACKAGE}FILES+= test_10.J.err 203${PACKAGE}FILES+= test_10.J.out 204${PACKAGE}FILES+= test_10.JP.err 205${PACKAGE}FILES+= test_10.JP.out 206${PACKAGE}FILES+= test_10.T.err 207${PACKAGE}FILES+= test_10.T.out 208${PACKAGE}FILES+= test_10.X.err 209${PACKAGE}FILES+= test_10.X.out 210${PACKAGE}FILES+= test_10.XP.err 211${PACKAGE}FILES+= test_10.XP.out 212${PACKAGE}FILES+= test_10.err 213${PACKAGE}FILES+= test_10.out 214${PACKAGE}FILES+= test_11.E.err 215${PACKAGE}FILES+= test_11.E.out 216${PACKAGE}FILES+= test_11.H.err 217${PACKAGE}FILES+= test_11.H.out 218${PACKAGE}FILES+= test_11.HIPx.err 219${PACKAGE}FILES+= test_11.HIPx.out 220${PACKAGE}FILES+= test_11.HP.err 221${PACKAGE}FILES+= test_11.HP.out 222${PACKAGE}FILES+= test_11.J.err 223${PACKAGE}FILES+= test_11.J.out 224${PACKAGE}FILES+= test_11.JP.err 225${PACKAGE}FILES+= test_11.JP.out 226${PACKAGE}FILES+= test_11.T.err 227${PACKAGE}FILES+= test_11.T.out 228${PACKAGE}FILES+= test_11.X.err 229${PACKAGE}FILES+= test_11.X.out 230${PACKAGE}FILES+= test_11.XP.err 231${PACKAGE}FILES+= test_11.XP.out 232 233PROGS+= test_01 234PROGS+= test_02 235PROGS+= test_03 236PROGS+= test_04 237PROGS+= test_05 238PROGS+= test_06 239PROGS+= test_07 240PROGS+= test_08 241PROGS+= test_09 242PROGS+= test_10 243PROGS+= test_11 244 245CFLAGS+= -I${LIBXOSRC}/libxo -I${.CURDIR:H}/libxo 246 247LIBADD= xo util 248 249SUBDIR+= encoder 250 251.include <bsd.test.mk> 252