view TOOLS/benchmark-gab/start @ 21234:f61fd8cc3128

Add a sanity check to unsafe-looking code. Does the memcpy to internal buffer here have any purpose besides enabling more potential buffer overflows?
author uau
date Sat, 25 Nov 2006 20:01:24 +0000
parents c36333ff54b0
children
line wrap: on
line source

#!/bin/sh

. ./variables

rm -f $LOGFILE

wrtlog Script version v0.91
wrtlog CPU: $VENDOR $MODEL $MHZ
wrtlog CPUFLAGS: $CPUFLAGS
wrtlog MEM: $MEMORY
wrtlog VGA: $VGA

if [ ! -e no_compile ]; then
  ./compile
else
  wrtlog Skipping compilation
fi

if [ ! -e no_benchmark ]; then
  ./benchmark
else
  wrtlog Skipping benchmark
fi

wrtlog Exiting.