diff options
Diffstat (limited to 'src/devices/wifi/tests/test-wifi-ap-utils.c')
-rw-r--r-- | src/devices/wifi/tests/test-wifi-ap-utils.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/wifi/tests/test-wifi-ap-utils.c b/src/devices/wifi/tests/test-wifi-ap-utils.c index 3c405e264f..b59b5376dd 100644 --- a/src/devices/wifi/tests/test-wifi-ap-utils.c +++ b/src/devices/wifi/tests/test-wifi-ap-utils.c @@ -27,6 +27,9 @@ #include "nm-dbus-glib-types.h" #include "nm-core-internal.h" +#include "nm-logging.h" + +#include "nm-test-utils.h" #define DEBUG 1 @@ -1336,16 +1339,14 @@ test_strength_wext (void) /*******************************************/ +NMTST_DEFINE (); + int main (int argc, char **argv) { gsize i; -#if !GLIB_CHECK_VERSION (2, 35, 0) - g_type_init (); -#endif - - g_test_init (&argc, &argv, NULL); + nmtst_init_assert_logging (&argc, &argv, "INFO", "DEFAULT"); g_test_add_func ("/wifi/lock_bssid", test_lock_bssid); |