X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2Ftest_type_declarations.py;h=bdb649b9a1f2400d1196f30aafa04ba6cdeab232;hp=62eda73a38a7492a93de02e186d3401420fcfbe8;hb=c125de8f5c0dc9ba3ada63e9317e468ffb9e335a;hpb=53f8be7a05e14be1d0bebc8575d0e5ce394111b2 diff --git a/tests/regression/ust/type-declarations/test_type_declarations.py b/tests/regression/ust/type-declarations/test_type_declarations.py index 62eda73a3..bdb649b9a 100644 --- a/tests/regression/ust/type-declarations/test_type_declarations.py +++ b/tests/regression/ust/type-declarations/test_type_declarations.py @@ -43,9 +43,9 @@ stop_session(session_info) # Check event fields using type declarations are present 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)) event_lines = [] for event_line in babeltrace_process.stdout: