jjb: archive top-level test suite log
[lttng-ci.git] / scripts / babeltrace / build.sh
index 8ab926154bb2cf2dacc373275ce5dc20dae54492..6f2f0f76174e872aef508aa715f263291f300e7b 100755 (executable)
@@ -373,6 +373,9 @@ if [ "$BABELTRACE_RUN_TESTS" = "yes" ]; then
        # Copy tap logs for the jenkins tap parser before cleaning the build dir
        rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
 
+       # Copy the test suites top-level log which includes all tests failures
+       rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
        # The test suite prior to 1.5 did not produce TAP logs
        if verlt "$PACKAGE_VERSION" "1.5"; then
            mkdir -p "$WORKSPACE/tap/no-log"
This page took 0.024 seconds and 4 git commands to generate.