From 77eac31aee89346d1399193be6199b9b16fb77af Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 11 Apr 2003 04:52:29 +0000 Subject: 2003-04-11 Havoc Pennington * 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. --- bus/test-main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bus/test-main.c') 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 #include +#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) -- cgit