aboutsummaryrefslogtreecommitdiff
path: root/ci/common
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-30 14:54:09 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-06-07 00:26:21 +0200
commiteb6dd3e42dc38460e8624dc5faef894e21c6aa26 (patch)
treef78f979c267423d5af0e77d9b7169a330ba61d52 /ci/common
parentfe1af9c2bc020cdb9e1e86e1f16d6060246f957a (diff)
downloadrneovim-eb6dd3e42dc38460e8624dc5faef894e21c6aa26.tar.gz
rneovim-eb6dd3e42dc38460e8624dc5faef894e21c6aa26.tar.bz2
rneovim-eb6dd3e42dc38460e8624dc5faef894e21c6aa26.zip
ci: Dump $NVIM_LOG_FILE contents
Diffstat (limited to 'ci/common')
-rw-r--r--ci/common/suite.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/common/suite.sh b/ci/common/suite.sh
index 8feb642547..d3fbcd1eda 100644
--- a/ci/common/suite.sh
+++ b/ci/common/suite.sh
@@ -39,6 +39,13 @@ enter_suite() {
exit_suite() {
set +x
+ if test -f "$NVIM_LOG_FILE" ; then
+ printf "===============================================================================\n"
+ printf "NVIM_LOG_FILE: $NVIM_LOG_FILE\n"
+ cat "$NVIM_LOG_FILE" 2>/dev/null || printf '(empty)'
+ printf "\n"
+ rm -rf "$NVIM_LOG_FILE"
+ fi
travis_fold end "${NVIM_TEST_CURRENT_SUITE}"
if test $FAILED -ne 0 ; then
echo "Suite ${NVIM_TEST_CURRENT_SUITE} failed, summary:"