mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 09:38:06 +02: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); \
|
success = nm_connection_compare (src, expected, NM_SETTING_COMPARE_FLAG_EXACT); \
|
||||||
if (success == FALSE && DEBUG) { \
|
if (success == FALSE && DEBUG) { \
|
||||||
g_message ("\n- COMPLETED ---------------------------------\n"); \
|
g_print ("\n- COMPLETED ---------------------------------\n"); \
|
||||||
nm_connection_dump (src); \
|
nm_connection_dump (src); \
|
||||||
g_message ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \
|
g_print ("+ EXPECTED ++++++++++++++++++++++++++++++++++++\n"); \
|
||||||
nm_connection_dump (expected); \
|
nm_connection_dump (expected); \
|
||||||
g_message ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \
|
g_print ("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"); \
|
||||||
} \
|
} \
|
||||||
g_assert (success == TRUE); \
|
g_assert (success == TRUE); \
|
||||||
} else { \
|
} else { \
|
||||||
if (success) { \
|
if (success) { \
|
||||||
g_message ("\n- COMPLETED ---------------------------------\n"); \
|
g_print ("\n- COMPLETED ---------------------------------\n"); \
|
||||||
nm_connection_dump (src); \
|
nm_connection_dump (src); \
|
||||||
} \
|
} \
|
||||||
g_assert (success == FALSE); \
|
g_assert (success == FALSE); \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue