quakeforge/tools/qfcc/test/build-run
Bill Currie 47decd58d0 Support testing v6 progs.
v6 progs return float rather than int (they don't have int).
2012-11-22 21:59:01 +09:00

11 lines
162 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