tests: add a basic pre-condition assertion test
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 23 May 2023 15:44:36 +0000 (11:44 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 May 2023 17:51:15 +0000 (13:51 -0400)
commitcc09350f7980727557e6b7d23819f1b2618442f6
tree70d2e36fa2baf998d4772c346ffa59dc9edb320d
parente85092df7ea4576de4ac5f4d93da3dc390f1cef8
tests: add a basic pre-condition assertion test

There is currently no "basic" pre-condition assertion test, even though
we have the support for it.  Add one, so that the support code is
exercised.  The new test checks that passing a wrong MIP version to
bt_grbt_graph_create triggers an assertion.

Change-Id: Iddaa7905684e1bda3a731ab215a0e42b5eb62633
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10056
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/lib/conds/conds-triggers.c
This page took 0.024428 seconds and 4 git commands to generate.