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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2019 21:24:21 +0000 (17:24 -0400)
commit705cccf8136aeb755bd9ba96bf8989e2341aab3b
tree1ba6599e53b35e7cd62f297dbd49088318002b4c
parent98702638206e1245ea50dfb2ed668ed7d9e1fcf3
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.026322 seconds and 4 git commands to generate.