From: Michael Jeanson Date: Wed, 2 Oct 2019 17:42:43 +0000 (-0400) Subject: jjb: fix liburcu build prior to 0.11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e5d878d85c554b4c82c617a1b6b3b238b5a4a45e;p=lttng-ci.git jjb: fix liburcu build prior to 0.11 Signed-off-by: Michael Jeanson --- diff --git a/scripts/liburcu/build.sh b/scripts/liburcu/build.sh index 5eeb71b..7d2951e 100755 --- a/scripts/liburcu/build.sh +++ b/scripts/liburcu/build.sh @@ -331,6 +331,13 @@ fi # 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 0.11 did not produce TAP logs +if verlt "$PACKAGE_VERSION" "0.11"; 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