mirror of
https://github.com/chocolate-doom/quickcheck.git
synced 2024-11-10 07:11:34 +00:00
parent
00450d0c85
commit
b894e75318
11 changed files with 0 additions and 28 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
miniwad.zip
BIN
miniwad.zip
Binary file not shown.
28
testrunner
28
testrunner
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
ORIGDIR=$PWD
|
||||
tmp=$(mktemp -d)
|
||||
cleanup() {
|
||||
rm -rf "$tmp"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
export SDL_VIDEODRIVER=dummy
|
||||
|
||||
export DOOMWADDIR=$PWD/extract
|
||||
|
||||
$SOURCE_PORT -iwad miniwad.wad \
|
||||
-mb 24 \
|
||||
-nodraw -noblit -nosound -noautoload -nogui -nograbmouse \
|
||||
-statdump $tmp/statdump.txt \
|
||||
"$@" >$tmp/log.txt 2>&1 || true
|
||||
|
||||
if [ ! -e $tmp/statdump.txt ]; then
|
||||
(echo "No statdump output produced."; cat $tmp/log.txt) >/dev/stderr
|
||||
exit 1
|
||||
else
|
||||
cat $tmp/statdump.txt
|
||||
fi
|
||||
|
Loading…
Reference in a new issue