aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2023-07-05 14:43:56 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2023-07-05 16:09:37 +0000
commitd9df0433c5e83dc7678ae137f5afefc6bbf13c39 (patch)
tree4ef6f8f174c2fafdb9786081d7c169734789ef77
parent88f61abc586e4bfc0f1082937d80cd92b7ca205d (diff)
test-checkout.sh: Increase length of tail-of-logHEADmaster
When manifests differ, we dump the tail of the log of the comparison build, but since we execute the build under 'set -x', this includes traces that make interesting/important information disappear from the tail of the tail. This patch simply dumps the last 20 lines, which looks sufficient. Change-Id: I4c336d9c5fabd4a49869fd6638ea000cc3b130b8
-rwxr-xr-xtest-checkout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-checkout.sh b/test-checkout.sh
index 552caf5..7f27fcf 100755
--- a/test-checkout.sh
+++ b/test-checkout.sh
@@ -349,7 +349,7 @@ do_test()
else
NUM_FAIL=$((NUM_FAIL+1))
echo "FAIL: $* (See workspace-$LOGNAME/test_$LOGNAME.log, tail of log:)"
- tail workspace-$LOGNAME/test_$LOGNAME.log
+ tail -n20 workspace-$LOGNAME/test_$LOGNAME.log
fi
if [ $RESULT -eq 0 -a x"$GIT_REF_OPT_SET" = x"false" ]; then
GIT_REF_OPT=--with-git-reference-dir=$TOP/workspace-$LOGNAME/snapshots