Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / ust-dl / test_ust-dl.py
index 96509c7cf798aeb15836d43ce9ce7b618a9f3aca..04903af260d02417a4814f1d964f807a966dbfb3 100644 (file)
@@ -52,9 +52,9 @@ stop_session(session_info)
 
 # Check for dl 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)
 
 dlopen_event_found = 0
 dlmopen_event_found = 0
This page took 0.022829 seconds and 4 git commands to generate.