jjb: fix liburcu build prior to 0.11
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 2 Oct 2019 17:42:43 +0000 (13:42 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 2 Oct 2019 17:42:43 +0000 (13:42 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/liburcu/build.sh

index 5eeb71b931a7ff0a4d746ac8d55c472c8cd37921..7d2951e20fcd5318942e7b6bb5dc01c172ab10c2 100755 (executable)
@@ -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
 
This page took 0.03288 seconds and 4 git commands to generate.