commit d2cfaeca98d4f22a5f9e35b77f8b7b7c3d117e96 parent ca6b35e1d2364f1f0a680e5e86b297e43e88e15e Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Sun, 12 Apr 2026 16:28:24 +0200 ci: print meson logs Diffstat:
| M | contrib/ci/jobs/2-test/4-test.sh | | | 23 | ++++------------------- |
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/contrib/ci/jobs/2-test/4-test.sh b/contrib/ci/jobs/2-test/4-test.sh @@ -9,27 +9,12 @@ check_command() print_logs() { - for i in src/*/test-suite.log - do - for FAILURE in $(grep '^FAIL:' ${i} | cut -d' ' -f2) - do - echo "Printing ${FAILURE}.log" - echo "========BEGIN======" - cat "$(dirname $i)/${FAILURE}.log" - echo "=========END=======" - echo "End of ${FAILURE}.log" - done - done - for LOGFILE in src/testing/*.log - do - echo "Printing ${LOGFILE}" - echo "========BEGIN======" - cat "${LOGFILE}" - echo "=========END=======" - echo "End of ${LOGFILE}" - done + set +e + echo "Printing meson log" + cat build/meson-logs/testlog.txt } + if ! check_command ; then print_logs exit 1