quakeforge/tools/qfcc/test/build-run
Bill Currie 99b34232f8 Add a test harness for qfcc.
It's only the beginning, but finally make check is useful for qfcc :)
It even has a failing test :D
2012-11-22 21:59:01 +09:00

11 lines
163 B
Bash
Executable file

#! /bin/sh
script=$1
progs=`basename $script .run`.dat
shift
cat > $script <<EOF
#! /bin/sh
./test-harness \$TEST_HARNESS_OPTS $progs "\$@"
EOF
chmod +x $script