test/lib/conds: use `:` to concatenate trigger name suffix
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 1 May 2024 21:29:20 +0000 (17:29 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 9 Oct 2024 02:56:57 +0000 (22:56 -0400)
commitbcce909e4c9161e4c6a68706f8ce8a902c1b6e89
tree08298338a26d16645b526f58984789a1aead874b
parentce2f1fbe59b7e1eed2dd404d929d5681a66899ec
test/lib/conds: use `:` to concatenate trigger name suffix

For cosmetic (and obviously subjective reasons), use `:` when
appending a trigger name suffix.

Example:

    -message-iterator-class-next-method:clock-class-is-expected-mii-mii
    +message-iterator-class-next-method:clock-class-is-expected:mii-mii

I like it because it's now of the form:

    <function name>:<cond id>:<suffix>

... where the suffix discriminates different triggers to reach the
pre/post condition identified by `<function name>:<cond id>`.  When the
suffix is concatenated using `-`, it's not clear where the cond id ends.

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