tests: clean up test_trimmer
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 7 Jun 2019 18:28:53 +0000 (14:28 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Jun 2019 23:04:37 +0000 (19:04 -0400)
commit93fb46c635574cad6ae2e5de0727ac9835b74438
tree337f85eb76ce2d4a8d705f95a987d7ca6addaa3b
parent8cc5f12befb744624f1683cda7d979d7c6cff4a5
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.024074 seconds and 4 git commands to generate.