From: Simon McVittie Date: Fri, 9 Sep 2016 07:23:36 +0000 (+0100) Subject: Terminate individual tests after half an hour X-Git-Tag: archive/raspbian/2017.12-1+rpi1~1^2^2^2^2^2^2^2^2^2^2^2^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aad408540f62f1221b286eb106b22e44d93b5286;p=ostree.git Terminate individual tests after half an hour While using the Automake parallel test harness, if a test hangs for long enough for an external watchdog to kill the entire build process (as happens in Debian sbuild after 150 minutes with no activity on stdout/stderr), the logs will not be shown. If we make an individual test time out sooner, logs are more likely to be shown. Signed-off-by: Simon McVittie Gbp-Pq: Name Terminate-individual-tests-after-half-an-hour.patch --- diff --git a/buildutil/tap-test b/buildutil/tap-test index 6b2eb5c1..4971f0b1 100755 --- a/buildutil/tap-test +++ b/buildutil/tap-test @@ -20,4 +20,4 @@ function cleanup () { } trap cleanup EXIT cd ${tempdir} -${srcd}/${bn} -k --tap +timeout --kill-after=60 1800 ${srcd}/${bn} -k --tap