testsuite should use babeltrace2 binary if found
On a fresh system install, installing all lttng projects (master branches) and babeltrace (master branch) yield to lttng-tools make check failure because it is hardwired to use the "babeltrace" binary. However, babeltrace master branch now installs the "babeltrace2" binary.
One way to fix this would be to use the "babeltrace2" binary if found, else fallback on the "babeltrace" binary.
Updated by Jonathan Rajotte Julien about 2 years ago
- Status changed from New to Confirmed
Not sure why I did not finish this. But I guess this is a start. There is a good probabilty that I was not fan of using a .in substitution file.
Updated by Mathieu Desnoyers about 2 years ago
I'm working on a fix for all use of the babeltrace binary.
There will be a single test which uses the babeltrace Python API which will require more care, because the API is changed: ./regression/kernel/validate_select_poll_epoll.py.
I will open a separate ticket for it.