[grisbi-cvs] grisbi/src/tests main_cunit.c,1.1,1.2
Mathias Lorente
m-lorente at users.sourceforge.net
Wed May 5 22:37:25 CEST 2010
Update of /cvsroot/grisbi/grisbi/src/tests
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv2882
Modified Files:
main_cunit.c
Log Message:
Correct main.c in case cunit library is not present
Index: main_cunit.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tests/main_cunit.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- main_cunit.c 4 May 2010 20:58:26 -0000 1.1
+++ main_cunit.c 5 May 2010 20:37:22 -0000 1.2
@@ -28,15 +28,11 @@
/* */
/* *******************************************************************************/
-#if HAVE_CUNIT
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-#include <CUnit/Automated.h>
-#include <CUnit/Basic.h>
-
#include "include.h"
/*START_INCLUDE*/
@@ -62,6 +58,13 @@
/* End of unnecessary things */
+#if HAVE_CUNIT
+
+#include <CUnit/Automated.h>
+#include <CUnit/Basic.h>
+
+
+
int gsb_cunit_run_tests()
{
/* initialize the CUnit test registry */
More information about the cvs
mailing list