| 1 |
// -*- MPC -*- |
| 2 |
project(cinset): gperf_test { |
| 3 |
exename = cout |
| 4 |
|
| 5 |
verbatim(gnuace, bottom) { |
| 6 |
all: runtests |
| 7 |
|
| 8 |
runtests: cout$(EXEEXT) |
| 9 |
" @echo "Testing cout" |
| 10 |
" ./cout -v < c.gperf > cout.out |
| 11 |
" -diff -b c.exp cout.out" |
| 12 |
|
| 13 |
endif # CROSS-COMPILE |
| 14 |
} |
| 15 |
|
| 16 |
GPERF_Files { |
| 17 |
commandflags += -a -p -c -l -S1 -o |
| 18 |
c.gperf |
| 19 |
} |
| 20 |
|
| 21 |
Source_Files { |
| 22 |
c.cpp |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
project(adainset): gperf_test { |
| 27 |
exename = aout |
| 28 |
|
| 29 |
verbatim(gnuace, bottom) { |
| 30 |
all: runtests |
| 31 |
|
| 32 |
runtests: aout$(EXEEXT) |
| 33 |
" @echo "Testing aout" |
| 34 |
" ./aout -v < ada.gperf > aout.out |
| 35 |
" -diff -b ada-res.exp aout.out" |
| 36 |
|
| 37 |
endif # CROSS-COMPILE |
| 38 |
} |
| 39 |
|
| 40 |
GPERF_Files { |
| 41 |
commandflags += -a -k1,4,$$ |
| 42 |
ada.gperf |
| 43 |
} |
| 44 |
|
| 45 |
Source_Files { |
| 46 |
ada.cpp |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
project(cppinset): gperf_test { |
| 51 |
exename = cppout |
| 52 |
|
| 53 |
verbatim(gnuace, bottom) { |
| 54 |
all: runtests |
| 55 |
|
| 56 |
runtests: cppout$(EXEEXT) |
| 57 |
" @echo "Testing cppout" |
| 58 |
" ./cppout -v < cpp.gperf > cppout.out |
| 59 |
" -diff -b cpp-res.exp cppout.out" |
| 60 |
|
| 61 |
endif # CROSS-COMPILE |
| 62 |
} |
| 63 |
|
| 64 |
GPERF_Files { |
| 65 |
commandflags += -a -D |
| 66 |
cpp.gperf |
| 67 |
} |
| 68 |
|
| 69 |
Source_Files { |
| 70 |
cpp.cpp |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
project(preinset): gperf_test { |
| 75 |
exename = preout |
| 76 |
|
| 77 |
verbatim(gnuace, bottom) { |
| 78 |
all: runtests |
| 79 |
|
| 80 |
runtests: preout$(EXEEXT) |
| 81 |
" @echo "Testing preout" |
| 82 |
" ./preout -v < adadefs.gperf > preout.out |
| 83 |
" -diff -b ada-pred.exp preout.out" |
| 84 |
|
| 85 |
endif # CROSS-COMPILE |
| 86 |
} |
| 87 |
|
| 88 |
GPERF_Files { |
| 89 |
commandflags += -a -p -D -k1,$$ -s 2 -o |
| 90 |
adadefs.gperf |
| 91 |
} |
| 92 |
|
| 93 |
Source_Files { |
| 94 |
adadefs.cpp |
| 95 |
} |
| 96 |
} |
| 97 |
|
| 98 |
project(m3inset): gperf_test { |
| 99 |
exename = m3out |
| 100 |
|
| 101 |
verbatim(gnuace, bottom) { |
| 102 |
all: runtests |
| 103 |
|
| 104 |
runtests: m3out$(EXEEXT) |
| 105 |
" @echo "Testing m3out" |
| 106 |
" ./m3out -v < modula3.gperf > m3out.out |
| 107 |
" -diff -b modula.exp m3out.out" |
| 108 |
|
| 109 |
endif # CROSS-COMPILE |
| 110 |
} |
| 111 |
|
| 112 |
GPERF_Files { |
| 113 |
commandflags += -a -k1,2,$$ |
| 114 |
modula3.gperf |
| 115 |
} |
| 116 |
|
| 117 |
Source_Files { |
| 118 |
modula3.cpp |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
project(pinset): gperf_test { |
| 123 |
exename = pout |
| 124 |
|
| 125 |
verbatim(gnuace, bottom) { |
| 126 |
all: runtests |
| 127 |
|
| 128 |
runtests: pout$(EXEEXT) |
| 129 |
" @echo "Testing pout" |
| 130 |
" ./pout -v < pascal.gperf > pout.out |
| 131 |
" -diff -b pascal.exp pout.out" |
| 132 |
|
| 133 |
endif # CROSS-COMPILE |
| 134 |
} |
| 135 |
|
| 136 |
GPERF_Files { |
| 137 |
commandflags += -a -o -S2 -p |
| 138 |
pascal.gperf |
| 139 |
} |
| 140 |
|
| 141 |
Source_Files { |
| 142 |
pascal.cpp |
| 143 |
} |
| 144 |
} |
| 145 |
|
| 146 |
project(iinset): gperf_test { |
| 147 |
exename = iout |
| 148 |
|
| 149 |
verbatim(gnuace, bottom) { |
| 150 |
all: runtests |
| 151 |
|
| 152 |
runtests: iout$(EXEEXT) |
| 153 |
" @echo "Testing iout" |
| 154 |
" ./iout -v < idl.gperf > iout.out |
| 155 |
" -diff -b idl.exp iout.out" |
| 156 |
|
| 157 |
endif # CROSS-COMPILE |
| 158 |
} |
| 159 |
|
| 160 |
GPERF_Files { |
| 161 |
commandflags += -m -M -c -C -D -S1 -E -T -a -o -p |
| 162 |
idl.gperf |
| 163 |
} |
| 164 |
|
| 165 |
Source_Files { |
| 166 |
idl.cpp |
| 167 |
} |
| 168 |
} |
| 169 |
|
| 170 |
project(iinset2): gperf_test { |
| 171 |
exename = iout2 |
| 172 |
after += iinset |
| 173 |
|
| 174 |
verbatim(gnuace, bottom) { |
| 175 |
all: runtests |
| 176 |
|
| 177 |
runtests: iout2$(EXEEXT) |
| 178 |
" @echo "Testing iout2" |
| 179 |
" ./iout2 -v < idl.gperf > iout2.out |
| 180 |
" -diff -b idl.exp iout2.out" |
| 181 |
|
| 182 |
endif # CROSS-COMPILE |
| 183 |
} |
| 184 |
|
| 185 |
GPERF_Files { |
| 186 |
gendir = iout2_gen |
| 187 |
commandflags += -m -M -c -C -D -E -T -a -o -p |
| 188 |
idl.gperf |
| 189 |
} |
| 190 |
|
| 191 |
Source_Files { |
| 192 |
iout2_gen/idl.cpp |
| 193 |
} |
| 194 |
} |
| 195 |
|
| 196 |
project(tinset): gperf_test { |
| 197 |
exename = tout |
| 198 |
|
| 199 |
verbatim(gnuace, bottom) { |
| 200 |
all: runtests |
| 201 |
|
| 202 |
runtests: tout$(EXEEXT) |
| 203 |
" @echo "Testing tout" |
| 204 |
" ./tout -v < corba.gperf > tout.out |
| 205 |
" -diff -b corba.exp tout.out" |
| 206 |
|
| 207 |
endif # CROSS-COMPILE |
| 208 |
} |
| 209 |
|
| 210 |
GPERF_Files { |
| 211 |
commandflags += -a -o |
| 212 |
corba.gperf |
| 213 |
} |
| 214 |
|
| 215 |
Source_Files { |
| 216 |
corba.cpp |
| 217 |
} |
| 218 |
} |
| 219 |
|
| 220 |
project(taoinset): gperf_test { |
| 221 |
exename = taoout |
| 222 |
|
| 223 |
verbatim(gnuace, bottom) { |
| 224 |
all: runtests |
| 225 |
|
| 226 |
runtests: taoout$(EXEEXT) |
| 227 |
" @echo "Testing taoout" |
| 228 |
" ./taoout -v < tao.gperf > taoout.out |
| 229 |
" -diff -b tao.exp taoout.out" |
| 230 |
|
| 231 |
endif # CROSS-COMPILE |
| 232 |
} |
| 233 |
|
| 234 |
GPERF_Files { |
| 235 |
commandflags += -c -C -D -E -f 0 -a -o |
| 236 |
tao.gperf |
| 237 |
} |
| 238 |
|
| 239 |
Source_Files { |
| 240 |
tao.cpp |
| 241 |
} |
| 242 |
} |