bunpen: tests: add a timeout for each integration test

This commit is contained in:
2025-01-06 02:58:58 +00:00
parent 57ef42991e
commit 7f069b0f23

View File

@@ -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