validate: Print the return value at the end

Making it easier to know whether the test passed or not.
This commit is contained in:
Thibault Saunier 2014-06-19 13:03:48 +02:00
parent f708156ff6
commit 3607fd8deb
2 changed files with 4 additions and 0 deletions

View file

@ -898,5 +898,7 @@ exit:
g_source_remove (signal_watch_id);
#endif
g_print ("\n=======> Test %s (Return value: %i)\n\n",
ret == 0 ? "PASSED" : "FAILED", ret);
return ret;
}

View file

@ -480,5 +480,7 @@ exit:
g_source_remove (signal_watch_id);
#endif
g_print ("\n=======> Test %s (Return value: %i)\n\n",
ret == 0 ? "PASSED" : "FAILED", ret);
return ret;
}