bunpen: tests: add a timeout for each integration test
This commit is contained in:
@@ -391,7 +391,7 @@ runTests() {
|
|||||||
cp -r ./test "$basedir/$f/test"
|
cp -r ./test "$basedir/$f/test"
|
||||||
echo -n "$f: ..."
|
echo -n "$f: ..."
|
||||||
cd "$basedir/$f"
|
cd "$basedir/$f"
|
||||||
if $SELF "$f" > "$basedir/$f/stdall" 2>&1; then
|
if timeout 10 $SELF "$f" > "$basedir/$f/stdall" 2>&1; then
|
||||||
echo " SUCCESS"
|
echo " SUCCESS"
|
||||||
succeeded+=("$f")
|
succeeded+=("$f")
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user