tests: reorganize CLI's `convert` tests
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 1 Aug 2019 14:57:22 +0000 (10:57 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 2 Aug 2019 15:46:54 +0000 (11:46 -0400)
commit595cc8e03aa046738fc6b5124f53f76f21e5688c
treefbeb74169d2cd455454cb873fbd543dae2e9883c
parent8b4cd08a4cc2e13235c20689d74790ed3ccc6a51
tests: reorganize CLI's `convert` tests

Create a `convert` directory under tests/cli, so we can have
multiple separate tests targeting specific features of the convert
command.

Move test_convert_args in there, this is the file containing the things
that are easy to test, comparing the output of --run-args with an
expected output.

Move the auto source discovery test in there too, as it's a feature of
the convert command.  Rename it to "auto source discovery grouping",
since that is mostly what it exercises, and we'll want to add tests for
other areas of auto source discovery.

Change-Id: I20e5085d6b41eec322b777f45be1fee87894fe91
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1808
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
27 files changed:
tests/Makefile.am
tests/cli/auto-source-discovery/test_auto_source_discovery [deleted file]
tests/cli/convert/test_auto_source_discovery_grouping [new file with mode: 0755]
tests/cli/convert/test_convert_args [new file with mode: 0755]
tests/cli/test_convert_args [deleted file]
tests/data/cli/auto-source-discovery/bt_plugin_test.py [deleted file]
tests/data/cli/auto-source-discovery/traces/aaa1 [deleted file]
tests/data/cli/auto-source-discovery/traces/aaa2 [deleted file]
tests/data/cli/auto-source-discovery/traces/aaa3 [deleted file]
tests/data/cli/auto-source-discovery/traces/bbb1 [deleted file]
tests/data/cli/auto-source-discovery/traces/bbb2 [deleted file]
tests/data/cli/auto-source-discovery/traces/ccc1 [deleted file]
tests/data/cli/auto-source-discovery/traces/ccc2 [deleted file]
tests/data/cli/auto-source-discovery/traces/ccc3 [deleted file]
tests/data/cli/auto-source-discovery/traces/ccc4 [deleted file]
tests/data/cli/auto-source-discovery/traces/some-dir/aaa10 [deleted file]
tests/data/cli/convert/auto-source-discovery-grouping/bt_plugin_test.py [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/aaa1 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/aaa2 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/aaa3 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/bbb1 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/bbb2 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/ccc1 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/ccc2 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/ccc3 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/ccc4 [new file with mode: 0644]
tests/data/cli/convert/auto-source-discovery-grouping/traces/some-dir/aaa10 [new file with mode: 0644]
This page took 0.025712 seconds and 4 git commands to generate.