bt2: add `if __name__ == '__main__'` snippet to all tests
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 17 Sep 2019 18:43:12 +0000 (14:43 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 18 Sep 2019 11:43:57 +0000 (07:43 -0400)
commitd14ddbbab48ce07804d4252228fceee692d5dea4
treed5686f5b192c4278deb5749bf8ccd8e2f953a6b2
parent113353402ab17d0091d22fed07a7f6afad44886d
bt2: add `if __name__ == '__main__'` snippet to all tests

I find it useful to run a single test file.

Change-Id: I6387864abf246977b964e17b932beebdba8bc92c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2062
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
24 files changed:
tests/bindings/python/bt2/test_clock_class.py
tests/bindings/python/bt2/test_component.py
tests/bindings/python/bt2/test_component_class.py
tests/bindings/python/bt2/test_component_descriptor.py
tests/bindings/python/bt2/test_connection.py
tests/bindings/python/bt2/test_ctf_writer_clock.py
tests/bindings/python/bt2/test_error.py
tests/bindings/python/bt2/test_event_class.py
tests/bindings/python/bt2/test_field.py
tests/bindings/python/bt2/test_graph.py
tests/bindings/python/bt2/test_integer_range_set.py
tests/bindings/python/bt2/test_interrupter.py
tests/bindings/python/bt2/test_message.py
tests/bindings/python/bt2/test_mip.py
tests/bindings/python/bt2/test_package.py
tests/bindings/python/bt2/test_packet.py
tests/bindings/python/bt2/test_plugin.py
tests/bindings/python/bt2/test_port.py
tests/bindings/python/bt2/test_query_executor.py
tests/bindings/python/bt2/test_stream.py
tests/bindings/python/bt2/test_stream_class.py
tests/bindings/python/bt2/test_trace.py
tests/bindings/python/bt2/test_trace_class.py
tests/bindings/python/bt2/test_value.py
This page took 0.026313 seconds and 4 git commands to generate.