agents)
echo "Java and Python agents configuration"
- export CLASSPATH="/usr/share/java/log4j-1.2.jar"
+ export CLASSPATH='/usr/share/java/*'
CONF_OPTS+=("--enable-java-agent-all" "--enable-jni-interface" "--enable-python-agent")
;;
# 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