[gtksourceview] Link completion-model test to the private lib



commit 04c1da24c49f0bf8039e8b2a5839c475146e4cf6
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Jan 13 21:49:03 2013 +0100

    Link completion-model test to the private lib
    
    Use the new private lib and remove the workarounds

 tests/Makefile.am |   18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cb5f1e8..8712473 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -59,18 +59,13 @@ test_buffer_LDADD = 		\
 	$(TESTS_LIBS)
 
 UNIT_TEST_PROGS += test-completion-model
-test_completion_model_SOURCES =					\
-	test-completion-model.c					\
-	$(top_srcdir)/gtksourceview/gtksourcecompletionmodel.c
+test_completion_model_SOURCES =	test-completion-model.c
 test_completion_model_LDADD =					\
-	$(top_builddir)/gtksourceview/libgtksourceview-3.0.la	\
+	$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
+	$(top_builddir)/gtksourceview/libgtksourceview-private.la	\
 	$(DEP_LIBS)						\
 	$(TESTS_LIBS)
 
-# Since gtksourcecompletionmodel.c is recompiled, add code coverage support.
-test_completion_model_CFLAGS = $(CODE_COVERAGE_CFLAGS)
-test_completion_model_LIBS = $(CODE_COVERAGE_LDFLAGS)
-
 python_tests =			\
 	test-completion.py	\
 	test-widget.py
@@ -88,11 +83,4 @@ EXTRA_DIST =				\
 	language-specs/test-full.lang	\
 	$(python_tests)
 
-# Generated files for the code coverage
-CLEANFILES =							\
-	test_completion_model-gtksourcecompletionmodel.gcda	\
-	test_completion_model-gtksourcecompletionmodel.gcno	\
-	test_completion_model-test-completion-model.gcda	\
-	test_completion_model-test-completion-model.gcno
-
 -include $(top_srcdir)/git.mk



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