From e5d878d85c554b4c82c617a1b6b3b238b5a4a45e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 2 Oct 2019 13:42:43 -0400 Subject: [PATCH] jjb: fix liburcu build prior to 0.11 Signed-off-by: Michael Jeanson --- scripts/liburcu/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.34.1