aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-java-trials-until.sh
blob: 56056002319b8b7640deab7537d5ae8edbe923f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ ! -e direct_bt-trial.jar ] ; then
    echo "Run from build/trial/java directory"
    exit 1
fi

run_until() {
    let n=0; while make test ; do let n=${n}+1; echo "Test ${n} OK"; cp -av Testing/Temporary/LastTest.log LastTest-${n}.log ; done
}

run_until 2>&1 | tee run-trials-until.log