[gtksourceview/code-coverage: 2/3] Code coverage for CompletionModel
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/code-coverage: 2/3] Code coverage for CompletionModel
- Date: Sun, 13 Jan 2013 16:17:28 +0000 (UTC)
commit f05db3b681c4ebb5f5b5766e469f5ad1e6bf75b8
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Sun Jan 13 17:03:32 2013 +0100
Code coverage for CompletionModel
There is maybe a better solution for building test-completion-model.
tests/Makefile.am | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 916b7da..bc45894 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,5 @@
+ GNOME_CODE_COVERAGE_RULES@
+
INCLUDES = \
-DDATADIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"GtkSourceView\"\
@@ -57,6 +59,10 @@ test_completion_model_LDADD = \
$(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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]