summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2016-11-28 17:23:43 +0000
committerAtomic Bot <atomic-devel@projectatomic.io>2016-11-29 14:11:50 +0000
commita1ab6b50f93cb0553bb96c936a5f1d1752ea564d (patch)
tree35bf1e2010515c532df8c407caa911dabfe7c312
parentdb691b552032bfdc526cb58a06f64c07a6ff527e (diff)
downloadostree-a1ab6b50f93cb0553bb96c936a5f1d1752ea564d.tar.gz
travis-ci: cat the test log after successful test runs
This lets us see which tests were skipped. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Closes: #600 Approved by: cgwalters
-rwxr-xr-xtests/ci-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ci-build.sh b/tests/ci-build.sh
index ae52787e..675a9a31 100755
--- a/tests/ci-build.sh
+++ b/tests/ci-build.sh
@@ -65,6 +65,7 @@ make="make -j${ci_parallel} V=1 VERBOSE=1"
${make}
[ "$ci_test" = no ] || ${make} check || maybe_fail_tests
+cat test/test-suite.log || :
# TODO: if ostree aims to support distcheck, run that too
${make} install DESTDIR=$(pwd)/DESTDIR
@@ -78,6 +79,8 @@ if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then
GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0 \
${make} installcheck || \
maybe_fail_tests
+ cat test/test-suite.log || :
+
env \
LD_LIBRARY_PATH=/usr/local/lib \
GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0 \