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

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

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

run_forever 2>&1 | tee run-trials-forever.log