diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-11 04:52:29 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-11 04:52:29 +0000 |
commit | 77eac31aee89346d1399193be6199b9b16fb77af (patch) | |
tree | 11b3ca9303814e137b444d12e4ad40196b95c482 /bus/test-main.c | |
parent | a03e626728db8a9cbe1dbbfab6f22f5870cb40ae (diff) |
2003-04-11 Havoc Pennington <hp@pobox.com>
* test/decode-gcov.c: add "below average functions" to the
coverage report, and change how some of the code works.
* bus/test-main.c: bracket some stuff in DBUS_BUILD_TESTS so it's
not in the coverage stats.
* test/test-service.c (main): use _dbus_verbose not fprintf in a
couple places so running the test suite doesn't result in megaspam.
Diffstat (limited to 'bus/test-main.c')
-rw-r--r-- | bus/test-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/test-main.c b/bus/test-main.c index 73491487..a8efc507 100644 --- a/bus/test-main.c +++ b/bus/test-main.c @@ -28,6 +28,7 @@ #include <dbus/dbus-sysdeps.h> #include <dbus/dbus-internals.h> +#ifdef DBUS_BUILD_TESTS static void die (const char *failure) { @@ -48,6 +49,7 @@ check_memleaks (const char *name) die ("memleaks"); } } +#endif /* DBUS_BUILD_TESTS */ int main (int argc, char **argv) |