summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-04 00:30:46 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-07-16 16:47:48 +0100
commit365c05e1ecc2bdf4dcf96d7c726f68aaf40888f2 (patch)
tree912dc43592e9fa515a20b3d892b8b991e729d8e2 /tests
parentfa22d8f771e63ca6fc17dea716980aa0faaf8f2f (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.
Diffstat (limited to 'tests')
-rw-r--r--tests/lib-build-modes2
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
}