blob: 672ff01dd71bfe8ee580cf7552c59f8dcd238bc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
function test {
diff <(timeout 20s $1 || "false") <(echo $2)
}
for file in `ls -1 $1` ; do
if [ -e "$1/$file/testgen.sh" ] ; then
"$1/$file/testgen.sh" 50 | while read line ; do
split=($line)
echo ./tmachines $1/$file/$file'.*tm' $line
test "./tmachines --quiet $1/$file/$file"'.*tm'" ${split[0]}" ${split[1]}
done
fi
done
|