Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / fork / test_fork.py
index 4cb721f38ac6b4f0b44325c8d2c8b8bc15892602..3c9a2ea91e538e0d781fe6fb826754894dc94252 100644 (file)
@@ -52,9 +52,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.", session_info)
+    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.02325 seconds and 4 git commands to generate.