tests: return the proper TAP exit code stable-2.0
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 13 Jul 2020 18:56:57 +0000 (14:56 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 25 Apr 2024 14:42:26 +0000 (10:42 -0400)
commit973f89acc3fca9984e3be062d93d5c4d0ffe98b3
tree5c8841a7c4fefe110bd627e694dc414d72cd4b6f
parent63b3c5c362052776adf86e4dd5af913540edd7ce
tests: return the proper TAP exit code

The C TAP library provides the 'exit_status()' function that will return
the proper exit code according to the number of tests that succeeded or
failed.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ia76ed7d1510bb23bf3848f85ac9022c66e752311
(cherry picked from commit d6641c890cd38d0c43a84fd54ccf3c10de88a56b)
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12475
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/ctf-writer/ctf_writer.c
tests/lib/test_bt_values.c
tests/plugins/flt.lttng-utils.debug-info/test_bin_info.c
tests/plugins/flt.lttng-utils.debug-info/test_dwarf.c
This page took 0.026664 seconds and 4 git commands to generate.