mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
gtestutils: Define TAP version clearly as defined value
As we do in tests
This commit is contained in:
parent
e6fbd2afa6
commit
f5f09445b8
@ -58,6 +58,7 @@
|
||||
#include "glib-private.h"
|
||||
#include "gutilsprivate.h"
|
||||
|
||||
#define TAP_VERSION G_STRINGIFY (13)
|
||||
/* FIXME: Remove '#' prefix when we'll depend on a meson version supporting TAP 14
|
||||
* See https://gitlab.gnome.org/GNOME/glib/-/issues/2885 */
|
||||
#define TAP_SUBTEST_PREFIX "# " /* a 4-space indented line */
|
||||
@ -1100,7 +1101,7 @@ g_test_log (GTestLogType lbit,
|
||||
{
|
||||
if (!is_subtest ())
|
||||
{
|
||||
g_test_tap_print (0, FALSE, "TAP version 13\n");
|
||||
g_test_tap_print (0, FALSE, "TAP version " TAP_VERSION "\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user