From 365c05e1ecc2bdf4dcf96d7c726f68aaf40888f2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 4 Jul 2016 00:30:46 +0100 Subject: [PATCH] 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. --- tests/lib-build-modes | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.30.2