mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-17 20:50:40 +02:00
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:
parent
ed9ff9c3df
commit
6cbc2d715f
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue