Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / exit-fast / test_exit-fast.py
index f61d540b344e2ec55f05d418761636e2cb09990a..aaacd4529049ac5a2d19ed27ca3d5d0125189ca9 100644 (file)
@@ -49,9 +49,9 @@ stop_session(session_info)
 
 # Check both events (normal exit and suicide messages) are present in the resulting trace
 try:
-    babeltrace_process = subprocess.Popen(["babeltrace", session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+    babeltrace_process = subprocess.Popen([BABELTRACE_BIN, session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 except FileNotFoundError:
-    bail("Could not open babeltrace. Please make sure it is installed.")
+    bail("Could not open {}. Please make sure it is installed.".format(BABELTRACE_BIN))
 
 event_lines = []
 for event_line in babeltrace_process.stdout:
This page took 0.023182 seconds and 4 git commands to generate.