Cleanup of running processes and coredump before build step
[lttng-ci.git] / scripts / lttng-tools / build.sh
index 774f5359451d6e99505ec0a96205ff9166205fa1..dded5f1efeda0b555474c8e6f92d3c6aa069103f 100755 (executable)
@@ -341,16 +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-.+')" || true
-    if [ ! -z "$lttng_processes" ]; then
-        echo "The following LTTng processes were detected running on the system and will be killed:"
-        echo "$lttng_processes"
-
-        pids="$(cut -d ' ' -f 1 <<< "$lttng_processes" | tr '\n' ' ')"
-        kill -SIGKILL $pids
-    fi
-
     # Add 'babeltrace' binary to PATH
     chmod +x "$BABEL_BINS/babeltrace"
     export PATH="$PATH:$BABEL_BINS"
This page took 0.026804 seconds and 4 git commands to generate.