blob: f78659d04d09aa638571d5580092f810df25b575 [file] [log] [blame]
Thomas Vachuska9efd6b32016-07-13 15:44:32 -07001#!/bin/bash
2#-------------------------------------------------------------------------------
3# Loops the System Test Coordinator invocations while success/until failure.
4#-------------------------------------------------------------------------------
5
6let run=1
7while true; do
8 printf "\033]0;%s\007" "STC Run #$run"
9 printf "Starting run %d...\n" $run
10 stc "$@"
11 status=$?
12 printf "Finished run %d...\n" $run
13 [ $status -ne 0 ] && break
14 let run=run+1
15done