tests: make `runIn()` accept a MIP version
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 1 May 2024 21:18:54 +0000 (17:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 9 Oct 2024 02:56:57 +0000 (22:56 -0400)
commit2ec9f669a63fc1af65f1777e83c3697fcd4a3a35
tree83d48fb3011f4479b16989a987a15a295c4e9a38
parentbcce909e4c9161e4c6a68706f8ce8a902c1b6e89
tests: make `runIn()` accept a MIP version

Make `runIn()` and `RunInCondTrigger` accept a MIP version to use when
creating the graph, instead of using 0.  Update existing users to pass a
hardcoded 0.

Add a `forEachMipVersion()` utility function, which calls a callback
once for each possible MIP version.  This is intended to help code that
wants to try testing variations of the same thing for all possible MIP
version.

Change-Id: Ic1d42d20b4eef872106f216fea9d2e883cb33775
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12780
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/lib/conds/clk-cls-compat-postconds-triggers.cpp
tests/lib/conds/conds-triggers.cpp
tests/lib/conds/utils.hpp
tests/lib/test-fields-bin.cpp
tests/lib/utils/run-in.cpp
tests/lib/utils/run-in.hpp
This page took 0.024404 seconds and 4 git commands to generate.