diff --git a/tests/test-utils.h b/tests/test-utils.h index 669967d5eacd5d32d159529924e9f894cc95039f..5e0f774c4dad955a309eca3bbba9a1bcd27b2c3a 100644 --- a/tests/test-utils.h +++ b/tests/test-utils.h @@ -32,6 +32,9 @@ #include <glib.h> +/* for its backports of g_test_skip(), etc. */ +#include <libglnx/libglnx.h> + #ifndef g_assert_true #define g_assert_true(x) g_assert ((x)) #endif @@ -52,15 +55,3 @@ #ifndef g_assert_cmpstr #define g_assert_cmpstr(a, op, b) g_assert (g_strcmp0 ((a), (b)) op 0) #endif - -#ifndef g_assert_nonnull -#define g_assert_nonnull(x) g_assert ((x) != NULL) -#endif - -#ifndef g_assert_null -#define g_assert_null(x) g_assert ((x) == NULL) -#endif - -#if !GLIB_CHECK_VERSION(2, 38, 0) && !defined(g_test_skip) -#define g_test_skip(msg) g_test_message ("SKIP: %s", msg) -#endif