[empathy] remove check-*



commit b3e65f73b24b69f3c6acd0dd662393259e13fc2d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Oct 29 15:51:27 2009 +0100

    remove check-*

 tests/.gitignore              |    1 -
 tests/Makefile.am             |   30 +-----------------
 tests/check-empathy-helpers.c |    1 -
 tests/check-helpers.c         |   67 -----------------------------------------
 tests/check-helpers.h         |   43 --------------------------
 tests/check-irc-helper.h      |    3 --
 tests/check-libempathy.h      |    5 ---
 tests/check-main.c            |   40 ------------------------
 8 files changed, 1 insertions(+), 189 deletions(-)
---
diff --git a/tests/.gitignore b/tests/.gitignore
index 6011974..73a1924 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1,4 +1,3 @@
-check-main
 *.log
 empathy-utils-test
 empathy-irc-server-test
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c495971..61c6b78 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,8 +2,6 @@ SUBDIRS = interactive xml
 
 CLEANFILES=
 
-include $(top_srcdir)/rules/check.mak
-
 SUPPRESSIONS=valgrind.supp dlopen.supp
 
 EXTRA_DIST = 		\
@@ -53,33 +51,7 @@ empathy_chatroom_test_SOURCES = empathy-chatroom-test.c \
 empathy_chatroom_manager_test_SOURCES = empathy-chatroom-manager-test.c \
      test-helper.c test-helper.h
 
-check_PROGRAMS = check-main $(TEST_PROGS)
-
-TESTS = check-main
-check_main_SOURCES =                             \
-    check-main.c                                 \
-    check-helpers.c                              \
-    check-helpers.h                              \
-    check-libempathy.h                           \
-    check-empathy-helpers.h                      \
-    check-empathy-helpers.c                      \
-    check-irc-helper.h                           \
-    check-irc-helper.c
-
-check_c_sources = \
-    $(check_main_SOURCES)
-include $(top_srcdir)/tools/check-coding-style.mk
-check-local: test check-coding-style
-
-check_main_LDADD = \
-    @CHECK_LIBS@ \
-    $(top_builddir)/libempathy-gtk/libempathy-gtk.la	\
-    $(top_builddir)/libempathy/libempathy.la		\
-    $(AM_LDFLAGS)
-
-check_main_CFLAGS = \
-    @CHECK_CFLAGS@ \
-    $(AM_CFLAGS)
+check_PROGRAMS = $(TEST_PROGS)
 
 TESTS_ENVIRONMENT = EMPATHY_SRCDIR= abs_top_srcdir@ \
 		    MC_PROFILE_DIR= abs_top_srcdir@/tests \
diff --git a/tests/check-empathy-helpers.c b/tests/check-empathy-helpers.c
index b66bbdd..619a1d5 100644
--- a/tests/check-empathy-helpers.c
+++ b/tests/check-empathy-helpers.c
@@ -26,7 +26,6 @@
 
 #include <telepathy-glib/account-manager.h>
 
-#include "check-helpers.h"
 #include "check-empathy-helpers.h"
 
 gchar *
diff --git a/tests/check-irc-helper.h b/tests/check-irc-helper.h
index 32a34b6..e375f6f 100644
--- a/tests/check-irc-helper.h
+++ b/tests/check-irc-helper.h
@@ -1,9 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <check.h>
-#include "check-helpers.h"
-
 #include <libempathy/empathy-irc-server.h>
 #include <libempathy/empathy-irc-network.h>
 #include <libempathy/empathy-irc-network-manager.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]