Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 233bbc4114b68c372bb97e7afcc87d9f > files > 3

mcal-0.7-25.mga7.src.rpm

Index: Makefile.in
===================================================================
--- Makefile.in
+++ Makefile.in	2013-07-10 22:43:27.027228647 +0200
@@ -42,6 +42,9 @@
 tester: tester.o libmcal.la
 	libtool --mode=link $(CC) $(LDFLAGS) -Wall -o tester tester.o $(LIBCAL) -lcrypt
 
+check: tester
+	./tester
+
 clean:
 	rm -f *.o *~ core $(LIBCAL) $(LIBCAL_SO) tester installed 
 
Index: tester.c
===================================================================
--- tester.c
+++ tester.c	2013-07-10 22:42:41.491299581 +0200
@@ -56,11 +56,12 @@
 int
 main(void)
 {
+/*	
 	if (!test_mysql()) {
 		printf("FAIL: test_mysql()\n");
 		return 1;
 	}
-/*	
+*/
 	if (!test_datetime()) {
 		printf("FAIL: test_datetime()\n");
 		return 1;
@@ -71,6 +72,7 @@
 		return 1;
 	}
 
+/*	
 	if (!test_cal()) {
 		printf("FAIL: test_cal()\n");
 		return 1;