X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-tools%2Fbuild.sh;h=dded5f1efeda0b555474c8e6f92d3c6aa069103f;hb=aae4e17983454e0ecaafd78bc1cf9846a1bedf61;hp=36c87b0f9d9d5dcf411c4ff0c9825d077247e511;hpb=cb86458689a81f4b6a201d117c92837075ff98e8;p=lttng-ci.git diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index 36c87b0..dded5f1 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -102,6 +102,8 @@ UST_JAVA="$WORKSPACE/deps/lttng-ust/build/share/java/" BABEL_LIBS="$WORKSPACE/deps/babeltrace/build/lib/" BABEL_BINS="$WORKSPACE/deps/babeltrace/build/bin/" +# pgrep +PGREP=pgrep # Set platform variables case "$arch" in @@ -339,13 +341,6 @@ if [ "$RUN_TESTS" = "yes" ]; then # Allow core dumps ulimit -c unlimited - # Kill any LTTng-related process - lttng_processes="$("$PGREP" -l 'lttng|gen-ust-.+')" - if [ $? -eq 0 ]; then - pids="$(cut -d ' ' -f 1 <<< "$lttng_processes" | tr '\n' ' ')" - kill -9 $pids - fi - # Add 'babeltrace' binary to PATH chmod +x "$BABEL_BINS/babeltrace" export PATH="$PATH:$BABEL_BINS"