3 if [ "$#" -lt 3 ]; then
4 echo "Usage: $0 'float test() { if(fail) return 0; else if(good) return 1; else return -1; }' ./darkplaces-dedicated basement +sv_cheats 1"
19 echo "$testcase" > "$dir/testcase.qc"
20 if ( cd $dir && fteqcc ); then
21 set -- "$engine" -xonotic -basedir "$dir/../../.." +sv_progs progs-testcase.dat "$@" +map "$map"
22 if [ -n "$GDB_ME" ]; then
25 echo "break VM_dprint"
30 gdb -x "$cmdfile" --args "$@"
34 r=`"$@" | tee /dev/stderr`
45 *"TESTCASE: INVALID"*)
46 echo "INVALID detected"
55 echo "Compilation failed"