diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-04 00:30:46 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 16:47:48 +0100 |
commit | 365c05e1ecc2bdf4dcf96d7c726f68aaf40888f2 (patch) | |
tree | 912dc43592e9fa515a20b3d892b8b991e729d8e2 | |
parent | fa22d8f771e63ca6fc17dea716980aa0faaf8f2f (diff) |
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.
-rw-r--r-- | tests/lib-build-modes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib-build-modes b/tests/lib-build-modes index 05c415c..639f9b5 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 } |