psx_gpu: minor test fixes
authornotaz <notasas@gmail.com>
Tue, 12 Mar 2013 23:54:13 +0000 (01:54 +0200)
committernotaz <notasas@gmail.com>
Fri, 15 Mar 2013 00:19:21 +0000 (02:19 +0200)
plugins/gpu_neon/psx_gpu/tests/Makefile
plugins/gpu_neon/psx_gpu/tests/psx_dump_check.sh

index 58cca29..bb91a5a 100644 (file)
@@ -1,6 +1,7 @@
 CC = $(CROSS_COMPILE)gcc
 CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
 CFLAGS += -Wall -ggdb
+CFLAGS += -fno-strict-aliasing
 
 CFLAGS += `sdl-config --cflags`
 LDFLAGS += `sdl-config --libs`
@@ -13,7 +14,7 @@ ASFLAGS = $(CFLAGS)
 OBJ += psx_gpu_arm_neon.o
 endif
 ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG -fno-strict-aliasing
+CFLAGS += -O2 -DNDEBUG
 endif
 
 OBJ += psx_gpu.o psx_gpu_parse.o psx_gpu_main.o
index 25d0725..58427b1 100755 (executable)
@@ -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