From 6640a05fe68f4c32cfd90236c90890e9b01c0359 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 9 Nov 2023 23:35:02 -0500 Subject: [PATCH] tests/utils/utils.sh: gen_mctf_trace(): use `echo` instead of `diag` This makes gen_mctf_trace() independent from needing `tap.sh` or not. It's like what we do in bt_cli(). Signed-off-by: Philippe Proulx Change-Id: I8074f47309e3d02b6e533ae4e00fdf3edaa729b0 --- tests/utils/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index acba07f9..d6d06184 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -487,7 +487,7 @@ gen_mctf_trace() { local -r input_file="$1" local -r base_dir="$2" - diag "Running: \`${BT_TESTS_PYTHON_BIN} ${BT_TESTS_SRCDIR}/utils/python/mctf.py --base-dir ${base_dir} ${input_file}\`" + echo "Running: \`${BT_TESTS_PYTHON_BIN} ${BT_TESTS_SRCDIR}/utils/python/mctf.py --base-dir ${base_dir} ${input_file}\`" >&2 run_python "${BT_TESTS_PYTHON_BIN}" "${BT_TESTS_SRCDIR}/utils/python/mctf.py" \ --base-dir "${base_dir}" "${input_file}" } -- 2.34.1