From: <dg...@su...> - 2009-02-05 09:16:18
|
Author: bellmich Date: Thu Feb 5 10:14:29 2009 New Revision: 913 URL: http://libsyncml.opensync.org/changeset/913 Log: make sure that a failure is failure even if CK_FORK=NO (Thanks goes to dgollub for the check support.) Modified: trunk/tests/support.h Modified: trunk/tests/support.h ============================================================================== --- trunk/tests/support.h Wed Feb 4 16:50:41 2009 (r912) +++ trunk/tests/support.h Thu Feb 5 10:14:29 2009 (r913) @@ -32,5 +32,6 @@ {\ int _result = expr;\ fail_unless(_result, ## __VA_ARGS__);\ + if (!_result) smlAssertMsg(0, g_strdup_printf(__VA_ARGS__));\ } |