summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
830153f)
Change-Id: I1f1e4ef2a8eaa79704848a765f0bc209e7ee4b92
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2163
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
{
local begin_time="$1"
local end_time="$2"
{
local begin_time="$1"
local end_time="$2"
+ # with_stream_msgs_cs is set to "true" or "false" by the tests.
local local_args=(
"--plugin-path" "$data_dir"
"-c" "src.test-trimmer.TheSourceOfAllEvil"
local local_args=(
"--plugin-path" "$data_dir"
"-c" "src.test-trimmer.TheSourceOfAllEvil"
"--params=compact=true,with-metadata=false"
)
"--params=compact=true,with-metadata=false"
)
+ if [ "$with_stream_msgs_cs" = "true" ]; then
+ test_name="with stream message clock snapshots"
+ else
+ test_name="without stream message clock snapshots"
+ fi
+
if [ -n "$begin_time" ]; then
local_args+=("--begin=$begin_time")
if [ -n "$begin_time" ]; then
local_args+=("--begin=$begin_time")
- test_name="with --begin=$begin_time"
+ test_name="$test_name, with --begin=$begin_time"
- test_name="without --begin"
+ test_name="$test_name, without --begin"
fi
if [ -n "$end_time" ]; then
fi
if [ -n "$end_time" ]; then
test_name="$test_name, without --end"
fi
test_name="$test_name, without --end"
fi
- # with_stream_msgs_cs is set to "true" or "false" by the tests.
-
bt_diff_cli "$temp_stdout_expected" "$temp_stderr_expected" "${local_args[@]}"
ok $? "$test_name"
}
bt_diff_cli "$temp_stdout_expected" "$temp_stderr_expected" "${local_args[@]}"
ok $? "$test_name"
}