mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 22:00:13 +01:00
wifi/test-general: don't do g_message() in test
An unexpected message causes the test to abort after the first line of output.
This commit is contained in:
parent
738c2fcefc
commit
bacb68f3f6
1 changed files with 4 additions and 4 deletions
|
|
@ -44,16 +44,16 @@
|
|||
\
|
||||
success = nm_connection_compare (src, expected, NM_SETTING_COMPARE_FLAG_EXACT); \
|
||||
if (success == FALSE && DEBUG) { \
|
||||
g_message ("\n- COMPLETED ---------------------------------\n"); \
|
||||
g_print ("\n- COMPLETED ---------------------------------\n"); \
|
||||
nm_connection_dump (src); \
|
||||
g_message ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \
|
||||
g_print ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \
|
||||
nm_connection_dump (expected); \
|
||||
g_message ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \
|
||||
g_print ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \
|
||||
} \
|
||||
g_assert (success == TRUE); \
|
||||
} else { \
|
||||
if (success) { \
|
||||
g_message ("\n- COMPLETED ---------------------------------\n"); \
|
||||
g_print ("\n- COMPLETED ---------------------------------\n"); \
|
||||
nm_connection_dump (src); \
|
||||
} \
|
||||
g_assert (success == FALSE); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue