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:
Lubomir Rintel 2017-04-14 22:53:36 +02:00
parent 738c2fcefc
commit bacb68f3f6

View file

@ -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); \