Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / linking / test_linking.py
index 21941f0d2d4918db1f19428a1b15d40bcfd71241..264747ea68aeca8f8742ad46cbc3d36ac89b280e 100644 (file)
@@ -133,9 +133,9 @@ for executable in test_executables:
         continue
 
     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))
 
     # We should find 8 events in the resulting trace
     event_entries = []
This page took 0.022849 seconds and 4 git commands to generate.