ansible: Add group roles for building ci/dev images
[lttng-ci.git] / scripts / lttng-tools / build.sh
index d1d0d179e5c28fe345ac6d3eba3e81daf019bd72..f5cafe4dde250f2d8192393f22d45c5d2c09f128 100755 (executable)
@@ -538,8 +538,7 @@ if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [[ ! "$conf" =~ (no-ust|relayd-only)
         cd ..
     fi
 
-    if [ "$LTTNG_TOOLS_RUN_UST_JAVA_TESTS" = "yes" ] && [ "$conf" = "agents" ] && \
-           [ "$platform" = "bionic-amd64" ] && [ "$LTTNG_TOOLS_MAKE_INSTALL" = "yes" ] ; then
+    if [ "$LTTNG_TOOLS_RUN_UST_JAVA_TESTS" = "yes" ] && [ "$LTTNG_TOOLS_MAKE_INSTALL" = "yes" ] && [ "$conf" = "agents" ] ; then
         print_header "Run lttng-ust-java-tests"
         # Git Source
         LTTNG_UST_JAVA_TESTS_GIT_SOURCE="${LTTNG_UST_JAVA_TESTS_GIT_SOURCE:-https://github.com/lttng/lttng-ust-java-tests.git}"
@@ -551,7 +550,6 @@ if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [[ ! "$conf" =~ (no-ust|relayd-only)
         cd lttng-ust-java-tests
 
         LTTNG_UST_JAVA_TESTS_ENV=(
-            "JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/"
             PATH="${WORKSPACE}/build/bin/:$PATH"
             LD_LIBRARY_PATH="${WORKSPACE}/build/lib:$LD_LIBRARY_PATH"
             LTTNG_UST_DEBUG=1
This page took 0.021981 seconds and 4 git commands to generate.