mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 09:40:17 +01:00
nmtst: drop deprecated test helper macro ASSERT()
It's no longer used.
This commit is contained in:
parent
16434c85f8
commit
3d734b30a2
1 changed files with 0 additions and 8 deletions
|
|
@ -1044,14 +1044,6 @@ _nmtst_assert_ip6_address (const char *file, int line, const struct in6_addr *ad
|
|||
}
|
||||
#define nmtst_assert_ip6_address(addr, str_expected) _nmtst_assert_ip6_address (__FILE__, __LINE__, addr, str_expected)
|
||||
|
||||
/* Deprecated: don't use this overly verbose macro. */
|
||||
#define ASSERT(x, test_name, fmt, ...) \
|
||||
G_STMT_START { \
|
||||
if (!(x)) { \
|
||||
g_error ("%s:%d: FAIL[%s]: " fmt, __FILE__, __LINE__, test_name, ## __VA_ARGS__); \
|
||||
} \
|
||||
} G_STMT_END
|
||||
|
||||
#define nmtst_spawn_sync(working_directory, standard_out, standard_err, assert_exit_status, ...) \
|
||||
__nmtst_spawn_sync (working_directory, standard_out, standard_err, assert_exit_status, ##__VA_ARGS__, NULL)
|
||||
inline static gint
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue