tests/lib/conds/utils.cpp: condMain(): unset `BABELTRACE_EXEC_ON_ABORT`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 16 Feb 2024 21:30:33 +0000 (16:30 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 29 Feb 2024 23:46:23 +0000 (18:46 -0500)
commitba33b664622ee13ddf7ce3682986fda048868277
tree008c155f4f1ac17dd1fcf7ed04fabc17c68fa8c8
parent5d7e57e846a27172cc3bc5d0fcf5b3e55551e289
tests/lib/conds/utils.cpp: condMain(): unset `BABELTRACE_EXEC_ON_ABORT`

This test willingly makes libbabeltrace2 abort, therefore
`BABELTRACE_EXEC_ON_ABORT` gets executed each time, and we don't want
that in the testing context.

condMain() is the closest to where the abort occurs: this means you may
run `tests/lib/conds/conds-triggers` directly and
`BABELTRACE_EXEC_ON_ABORT` won't impact the program.

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