]> granicus.if.org Git - pdns/commitdiff
rec: Display the content of the testrunner logs in case of failure
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Aug 2017 13:33:50 +0000 (15:33 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Aug 2017 13:33:50 +0000 (15:33 +0200)
build-scripts/travis.sh

index 51e55006365dbdfe9611b6815033e2ca0d1f865e..c1364b3513011a6fd0188ad8a10b4f109c92844e 100755 (executable)
@@ -534,7 +534,7 @@ test_recursor() {
   export DNSBULKTEST="/usr/bin/dnsbulktest"
   export RECCONTROL="${PDNS_RECURSOR_DIR}/bin/rec_control"
   run "cd pdns/recursordist/pdns-recursor-*"
-  run "make -j 3 check"
+  run "make -j 3 check || (cat test-suite.log; false)"
   run "cd ${TRAVIS_BUILD_DIR}"
   run "./build-scripts/test-recursor"
   export RECURSOR="${PDNSRECURSOR}"