tests: replace BT_ASSERT with exit in test_bin_info
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 5 Jun 2019 15:36:19 +0000 (11:36 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 6 Jun 2019 19:04:56 +0000 (15:04 -0400)
commit7de0939d96fe680ec5cd14e46c72f23653fd1d0a
treea2abd9ec47ecf165ae065c0ce12bdc57dcf203cf
parent8e65ce6d8a2021d5b67ad26a1b8f17244ea319b3
tests: replace BT_ASSERT with exit in test_bin_info

Since this is a test executable and not a library, it's cleaner to exit
with an error code than use an assertion which could be disabled.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I1684a21d510ea444106b84f5e06ece4a7ff96ef4
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1382
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
tests/plugins/test_bin_info.c
This page took 0.024549 seconds and 4 git commands to generate.