tests: clean up test_trimmer
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 7 Jun 2019 18:28:53 +0000 (14:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2019 21:24:22 +0000 (17:24 -0400)
commite9765ba9acaed2a275bd2c1e9f67cfc7ac77750b
treecac086acce41c934bdbe74b1360c2a0e6da44079
parente934e1b6358229efefb87278f70f64054fcc2110
tests: clean up test_trimmer

This patch changes test_trimmer to reduce duplication of the
boilerplate.  I intend to add some test cases to this test in a
following patch, so this change allows me to understand better what the
test does currently and will help adding test cases.

Note that there are pairs of tests that are pretty much redundant, such
as:

- "Read a trace with the trimmer enabled (GMT relative timestamps)"
- "Ran successfully with --begin and --end (GMT relative timestamps)"

So I have only kept the second test of such pairs.

Change-Id: I075df21ed9c03495ab516d3870ccf7b63276d3ce
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1407
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/cli/test_trimmer.in
This page took 0.02634 seconds and 4 git commands to generate.