Commit bacb68f3 authored by Lubomir Rintel's avatar Lubomir Rintel

wifi/test-general: don't do g_message() in test

An unexpected message causes the test to abort after the first line of
output.
parent 738c2fce
......@@ -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); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment