mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
9477660e02
commit
ff18241f6f
1 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue