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