Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / ust / libc-wrapper / test_libc-wrapper.py
index f56fa50def85e4aa8ac3bfafa2d233ceb9b7a2d1..f07152a28a97bd8aab0d7dd6e4b54878abba3bb7 100644 (file)
@@ -41,9 +41,9 @@ stop_session(session_info)
 
 # Check for malloc 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)
 
 malloc_event_found = False
 free_event_found = False
This page took 0.026449 seconds and 4 git commands to generate.