dbus/glib dbus-gtest-main.c,1.2,1.3

Havoc Pennington hp@pdx.freedesktop.org
Fri, 17 Oct 2003 09:23:21 -0700


Update of /cvs/dbus/dbus/glib
In directory pdx:/tmp/cvs-serv12372/glib

Modified Files:
	dbus-gtest-main.c 
Log Message:
2003-10-16  Havoc Pennington  <hp@redhat.com>

	* glib/dbus-gtest-main.c: bracket with #ifdef DBUS_BUILD_TESTS

	* Makefile.am (GCOV_DIRS): remove "test", we don't care about test
	coverage of the tests
	(coverage-report.txt): don't move the .da and .bbg files around



Index: dbus-gtest-main.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gtest-main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dbus-gtest-main.c	30 Sep 2003 02:32:57 -0000	1.2
+++ dbus-gtest-main.c	17 Oct 2003 16:23:19 -0000	1.3
@@ -20,6 +20,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  */
+#include <config.h>
+
+#ifdef DBUS_BUILD_TESTS
 
 #include "dbus-gtest.h"
 #include <stdio.h>
@@ -44,3 +47,5 @@
   
   return 0;
 }
+
+#endif