tests: undef G_DISABLE_ASSERT

Since GLib 2.58, g_test_init started to be no-op if a test is compiled
with G_DISABLE_ASSERT defined.
This commit is contained in:
Daiki Ueno 2019-06-29 06:42:15 +02:00
parent 0e6b542ff5
commit d17e93e696
14 changed files with 30 additions and 0 deletions

View File

@ -22,6 +22,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "egg/egg-dh.h"
#include "egg/egg-secure-memory.h"
#include "egg/egg-testing.h"

View File

@ -22,6 +22,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "egg/egg-hex.h"
#include <stdlib.h>

View File

@ -22,6 +22,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -32,6 +34,8 @@
#include <gcrypt.h>
#undef G_DISABLE_ASSERT
EGG_SECURE_DEFINE_GLIB_GLOBALS ();
static void

View File

@ -22,6 +22,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "egg/egg-secure-memory.h"
#include <glib.h>

View File

@ -15,6 +15,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-attributes.h"
#include "secret-private.h"

View File

@ -15,6 +15,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-collection.h"
#include "secret-service.h"
#include "secret-paths.h"

View File

@ -15,6 +15,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-collection.h"
#include "secret-item.h"
#include "secret-service.h"

View File

@ -13,6 +13,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-attributes.h"
#include "secret-collection.h"
#include "secret-item.h"

View File

@ -14,6 +14,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-password.h"
#include "secret-paths.h"
#include "secret-private.h"

View File

@ -13,6 +13,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-attributes.h"
#include "secret-collection.h"
#include "secret-item.h"

View File

@ -15,6 +15,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-item.h"
#include "secret-service.h"
#include "secret-private.h"

View File

@ -13,6 +13,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-collection.h"
#include "secret-item.h"
#include "secret-service.h"

View File

@ -13,6 +13,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-item.h"
#include "secret-service.h"
#include "secret-paths.h"

View File

@ -13,6 +13,8 @@
#include "config.h"
#undef G_DISABLE_ASSERT
#include "secret-value.h"
#include "secret-private.h"