Unit Tests
- Enhanced 'run_all' so that by default, it does not run the benchmark.t script, but does if the 'slow' argument is specified.
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
date > all.log
|
||||
|
||||
MODE=quick
|
||||
if [ "x$1" == 'xslow' ]; then
|
||||
echo 'Including benchmarks'
|
||||
MODE=slow
|
||||
else
|
||||
echo 'Skipping benchmarks'
|
||||
fi
|
||||
|
||||
VRAMSTEG=/usr/local/bin/vramsteg
|
||||
BAR=0
|
||||
if [ -x $VRAMSTEG ]; then
|
||||
@@ -18,7 +26,9 @@ do
|
||||
COUNT=$[COUNT + 1]
|
||||
fi
|
||||
|
||||
./$i >> all.log 2>&1
|
||||
if [[ $MODE == 'slow' || $i != 'benchmark.t' ]]; then
|
||||
./$i >> all.log 2>&1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $BAR == 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user