shared/tests: don't include "nm-default.h" in test utils and remove compile check

Remove the check for NETWORKMANAGER_COMPILATION and NETWORKMANAGER_COMPILATION_TEST
define. We will no longer define that, and the check will be wrong.
This commit is contained in:
Thomas Haller 2021-02-05 15:54:04 +01:00
parent ed9ff9c3df
commit 6cbc2d715f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -6,10 +6,6 @@
#ifndef __NM_TEST_UTILS_H__
#define __NM_TEST_UTILS_H__
#if defined(NETWORKMANAGER_COMPILATION) && !defined(NETWORKMANAGER_COMPILATION_TEST)
#error Need to mark the compilation with NETWORKMANAGER_COMPILATION_TEST.
#endif
/*******************************************************************************
* HOWTO run tests.
*
@ -84,8 +80,6 @@
*
*******************************************************************************/
#include "nm-default.h"
#if defined(NM_ASSERT_NO_MSG) && NM_ASSERT_NO_MSG
#undef g_return_if_fail_warning
#undef g_assertion_message_expr