aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh
diff options
context:
space:
mode:
authornotaz2013-03-13 01:54:13 +0200
committernotaz2013-03-15 02:19:21 +0200
commita2fc80704176e6f98c579f795f39bcc29f5877ed (patch)
treeb929e25a64ec6aa570da23fc351527bc7910cb0f /plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh
parent134f81ec45254560f7eee08bb0b59d403449c5e0 (diff)
downloadpcsx_rearmed-a2fc80704176e6f98c579f795f39bcc29f5877ed.tar.gz
pcsx_rearmed-a2fc80704176e6f98c579f795f39bcc29f5877ed.tar.bz2
pcsx_rearmed-a2fc80704176e6f98c579f795f39bcc29f5877ed.zip
psx_gpu: minor test fixes
Diffstat (limited to 'plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh')
-rwxr-xr-xplugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh b/plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh
index 25d0725..58427b1 100755
--- a/plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh
+++ b/plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh
@@ -1,3 +1,8 @@
+if test -z "$1"; then
+ echo "$0 <logfile>"
+ exit 1
+fi
+
truncate --size 0 $1
for dump in gpu_dumps_all/*
do