3 # Script to run a regression test with a time limit (in seconds)
4 # this allows the script to be killed if say the SD crashes
5 # due to an ASSERT. Otherwise the script will hang for
6 # a very long time, perhaps forever.
7 # Of course, this implies that all tests must terminate normally
8 # within the timeout period (900 seconds).
10 if [ -f bin/timelimit ] ; then
11 WARNTIME=900 KILLTIME=5 bin/timelimit $*