jjb: lltng-ust: no tap logs prior to 2.8
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 18 Jul 2019 19:11:55 +0000 (15:11 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 18 Jul 2019 19:11:55 +0000 (15:11 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-ust/build.sh

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