Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / daemon / test_daemon.py
index 0351f1d21c1a239cbb235db7b6f538bd666636f8..46df102b9bb42284e1d124ab08763cffabf841d0 100644 (file)
@@ -57,9 +57,9 @@ if daemon_process_return_code != 0:
 stop_session(session_info)
 
 try:
-    babeltrace_process = subprocess.Popen(["babeltrace", session_info.trace_path], stdout=subprocess.PIPE)
+    babeltrace_process = subprocess.Popen([BABELTRACE_BIN, session_info.trace_path], stdout=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))
 
 before_daemon_event_found = False
 before_daemon_event_pid = -1
This page took 0.022934 seconds and 4 git commands to generate.