spot/bench/dtgbasat/stats.sh
Alexandre GBAGUIDI AISSE ba4345a42b dtgbasat: Fix dtgbasat bench errors
* bench/dtgbasat/formulas: Fix bin's path.
* bench/dtgbasat/prepare.sh: Fix bin's path & ltl2tgba@-sD option.
* bench/dtgbasat/stats.sh: Fix bin's path.
* bench/dtgbasat/stat.sh: Fix bin's path, ltl2tgba@-sD option
2016-10-13 15:51:21 +02:00

42 lines
855 B
Bash
Executable file

#!/bin/sh
ltlfilt=../../bin/ltlfilt
ltl2tgba=../../bin/ltl2tgba
dstar2tgba=../../bin/dstar2tgba
timeout='timeout -sKILL 1h'
stats=--stats="%s, %e, %t, %a, %c, %d, %p, %r"
empty='-, -, -, -, -, -, -, -'
rm -f stats.mk stats.tmp
n=1
all=
while IFS=, read f type accmax accmin; do
unset IFS
case $type in
*TCONG*)
echo "$n.log:; ./stat.sh $n '$f' $type $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
echo "$n.log:; ./stat.sh $n '$f' DRA-CONG $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
;;
*)
echo "$n.log:; ./stat.sh $n '$f' $type $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
;;
esac
done < info.ltl
cat > stats.mk <<EOF
ALL = $all
all.log: \$(ALL)
cat \$(ALL) >\$@
EOF
cat stats.tmp >> stats.mk
echo "Now, run something like: make -j8 -f stats.mk"