blob: 5d9e087e8555827e0aef16b66770f22df0fa431b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
PREFIX=TESTS
for s in ${@}
do
src="${s#*/}"
exe="tests/test-${src%.*}"
dep="tests/${exe}.d"
echo "${PREFIX} += ${exe}" >> tests.mk
echo "${dep}:" >> tests.mk
echo "-include ${dep}" >> tests.mk
echo "${exe}: ${s} ejit.o" >> tests.mk
echo " \$(COMPILE_TEST) ${s} ejit.o -o ${exe}" >> tests.mk
done
|