NetworkManager/shared
Thomas Haller 123747963a nmtst: improve test macros FAIL() and ASSERT()
Fail only printed a message to stderr and exited.
Instead, print it with g_error(), which also breaks
in the debugger and produces a core-dump.

Also, it constructed the message based on an unchecked
format string and constructed a format string dynamically.
Just don't do that.

Also add a comment that these macros are discouraged because
they are cumbersome to write (requiring a test-name and a failure
message).
2016-02-03 12:41:35 +01:00
..
gsystem-local-alloc.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
Makefile.am build: add "shared" files to EXTRA_DIST 2016-01-27 11:51:17 +01:00
nm-dbus-compat.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-default.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-glib.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-macros-internal.h shared: add NM_GOBJECT_PROPERTIES_DEFINE() 2016-01-19 21:20:36 +01:00
nm-test-libnm-utils.h libnm/tests: add test code driving python test service 2015-12-26 16:43:49 +01:00
nm-test-utils-impl.c libnm/tests: add test code driving python test service 2015-12-26 16:43:49 +01:00
nm-test-utils.h nmtst: improve test macros FAIL() and ASSERT() 2016-02-03 12:41:35 +01:00
nm-version-macros.h.in build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00