tests: make --port-filename optional in lttng_live_server.py
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 23 Sep 2023 02:26:14 +0000 (22:26 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 20 Oct 2023 23:29:14 +0000 (19:29 -0400)
commitd11f45efba7c4245271ffd83f228306d631b530d
tree57bd8aa60b5420583389ee2c1bb063dc37ec83d4
parentf2958352b96ea9e50f6fbd5647b99d0be97188ec
tests: make --port-filename optional in lttng_live_server.py

While port_filename is useful for automation, it isn't essential when
using lttng_live_server.py manually.  Make that argument non-required.

Also, print a message indicating the port used to listen, which is handy
for interactive use.

Change how lttng_live_server.py is invoked to redirect stdout to stderr,
hopefully avoiding messing up the tap output format.

Change-Id: Ie185ced440c51fb1bb8355553f7b4a7725a13542
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10896
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
tests/plugins/src.ctf.lttng-live/test_live
This page took 0.02403 seconds and 4 git commands to generate.