blob: f78659d04d09aa638571d5580092f810df25b575 [file] [log] [blame]
#!/bin/bash
#-------------------------------------------------------------------------------
# Loops the System Test Coordinator invocations while success/until failure.
#-------------------------------------------------------------------------------
let run=1
while true; do
printf "\033]0;%s\007" "STC Run #$run"
printf "Starting run %d...\n" $run
stc "$@"
status=$?
printf "Finished run %d...\n" $run
[ $status -ne 0 ] && break
let run=run+1
done