tests: sync tests/utils/tap with Babeltrace repository
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 20 Aug 2021 19:22:16 +0000 (15:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 9 Dec 2021 19:46:17 +0000 (14:46 -0500)
commit9f4a25d35d037cbb5d8aeb50f9e8fa10748a4d14
tree2473292eda3009547d9269045a1aa44310c5d1ee
parent8346beb68a50caf0b63edaca526250c0068f66d3
tests: sync tests/utils/tap with Babeltrace repository

There are a few fixes / improvements in the Babeltrace version of the
tap library, bring them here.  The Babeltrace commit used is
0022a87819b0 ("Fix: clear_string_field(): set first character to 0") In
particular, I'm looking for the TAP_PRINTF_FORMAT fixes, to be able to
enable -Wsuggest-attribute=format.  But I think it's easier to keep them
in sync, so bring in all changes, instead of just the TAP_PRINTF_FORMAT
ones.

The only diff not brought are the semicolons in the pass / fail
definitions, which were removed in the previous patch.  Those changes
should be brought to the Babeltrace repository.

Bringing in the TAP_PRINTF_FORMAT changes finds a few format string
mistakes in the tests, fix them.

Change-Id: I0d125b313265e72303be8d704ba40554bca87cd1
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/notification/notification.cpp
tests/regression/tools/trigger/name/trigger_name.cpp
tests/unit/test_notification.cpp
tests/unit/test_utils_expand_path.cpp
tests/unit/test_utils_parse_size_suffix.cpp
tests/unit/test_utils_parse_time_suffix.cpp
tests/utils/tap/tap.c
tests/utils/tap/tap.h
tests/utils/tap/tap.sh
This page took 0.025969 seconds and 4 git commands to generate.