Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / baddr-statedump / test_baddr-statedump.py
index 026f084445e8ec9d24e06854dfc021f96b8eb755..c145972bb7fe4071c435d2bbac71c42c0c84a47b 100644 (file)
@@ -44,9 +44,9 @@ stop_session(session_info)
 
 # Check for statedump events 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), session_info)
 
 start_event_found = False
 bin_info_event_found = False
This page took 0.023881 seconds and 4 git commands to generate.