X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flttng-ust%2Fbuild.sh;h=5fc1a6d8adec1a33bf14be26d923eea78fcb6911;hb=056f7519e4772cdd4636d386a5252d9e23866729;hp=4f36982b9b019cb8af0d8cf3a9733c1e8a43c096;hpb=1d56e325ac199eb068729afbb04b3e954cb23061;p=lttng-ci.git diff --git a/scripts/lttng-ust/build.sh b/scripts/lttng-ust/build.sh index 4f36982..5fc1a6d 100755 --- a/scripts/lttng-ust/build.sh +++ b/scripts/lttng-ust/build.sh @@ -298,6 +298,13 @@ $MAKE --keep-going check || failed_tests=1 # 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" +# The test suite prior to 2.8 did not produce TAP logs +if verlt "$PACKAGE_VERSION" "2.8"; then + mkdir -p "$WORKSPACE/tap/no-log" + echo "1..1" > "$WORKSPACE/tap/no-log/tests.log" + echo "ok 1 - Test suite doesn't support logging" >> "$WORKSPACE/tap/no-log/tests.log" +fi + # Clean the build directory $MAKE clean