From: Ian Jackson Date: Sun, 3 Jul 2016 23:30:46 +0000 (+0100) Subject: Test suite: When sbuild log file missing, make a note X-Git-Tag: archive/debian/2.0~282 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=365c05e1ecc2bdf4dcf96d7c726f68aaf40888f2 Test suite: When sbuild log file missing, make a note This updates "Test suite: When sbuild fails, do not crash", to arrange that in this situation we do leave a message in the $bmlog, where it will be reported (eg) by diff. This makes debugging less confusing in cases where the log is indeed missing. --- diff --git a/tests/lib-build-modes b/tests/lib-build-modes index 05c415ca..639f9b50 100644 --- a/tests/lib-build-modes +++ b/tests/lib-build-modes @@ -70,6 +70,8 @@ bm-quirk-sbuild-after-act () { sed ' s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/; ' <$sblog >>$bmlog + else + echo "SBUILD LOG FILE ($sblog) MISSING" fi }