From: Simon Marchi Date: Mon, 17 Feb 2020 22:30:59 +0000 (-0500) Subject: tests: improve flt.utils.trimmer/test_trimming to test streams without packets X-Git-Tag: v2.0.2~7 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=3982428dea5b8bef42289ecf927f8f41bd76e704;hp=3982428dea5b8bef42289ecf927f8f41bd76e704;p=babeltrace.git tests: improve flt.utils.trimmer/test_trimming to test streams without packets Augment the test to make it test streams without packet support. A new parameter 'with-packet-msgs' must be passed to the test source component to control whether it will emit packet messages. There are now two configuration axis in this test (with and without stream message clock snapshots, with and without packet messages), which gives 4 configurations. I think it's still manageable to have them all written explicitly. However, if we are to add a third configuration axis, I think we'll need to refactor the test to avoid having all the expected outputs written explicitly, as it will become too big to be manageable. Change-Id: I0b488aa3f1506e9d43f320c1643a65db5317d63c Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/3106 Tested-by: jenkins Reviewed-by: Philippe Proulx ---