[gtksourceview/wip/regex-search] build: sort the tests and unit tests
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/regex-search] build: sort the tests and unit tests
- Date: Wed, 31 Jul 2013 16:17:21 +0000 (UTC)
commit 3cebe517def55f7eaa28d50a72e565ac96c9a5c1
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jul 31 18:16:16 2013 +0200
build: sort the tests and unit tests
tests/Makefile.am | 98 ++++++++++++++++++++++++++--------------------------
1 files changed, 49 insertions(+), 49 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 10452e8..b5e6827 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -23,14 +23,7 @@ test-completion-resources.c: test-completion.gresource.xml $(shell $(GLIB_COMPIL
test-search-resources.c: test-search.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies
$(srcdir)/test-search.gresource.xml)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source
$(srcdir)/test-search.gresource.xml
-TEST_PROGS = test-widget
-test_widget_SOURCES = test-widget.c
-test_widget_LDADD = \
- $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
- $(DEP_LIBS) \
- $(TESTS_LIBS)
-
-TEST_PROGS += test-completion
+TEST_PROGS = test-completion
test_completion_SOURCES = \
test-completion.c \
test-completion-resources.c
@@ -56,22 +49,36 @@ test_search_performances_LDADD = \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS = test-languagemanager
-test_languagemanager_SOURCES = \
- test-languagemanager.c
-test_languagemanager_LDADD = \
+TEST_PROGS += test-widget
+test_widget_SOURCES = test-widget.c
+test_widget_LDADD = \
$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-styleschememanager
-test_styleschememanager_SOURCES = \
- test-styleschememanager.c
-test_styleschememanager_LDADD = \
+UNIT_TEST_PROGS = test-buffer
+test_buffer_SOURCES = test-buffer.c
+test_buffer_LDADD = \
$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
$(DEP_LIBS) \
$(TESTS_LIBS)
+UNIT_TEST_PROGS += test-completion-model
+test_completion_model_SOURCES = test-completion-model.c
+test_completion_model_LDADD = \
+ $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
+ $(top_builddir)/gtksourceview/libgtksourceview-private.la \
+ $(DEP_LIBS) \
+ $(TESTS_LIBS)
+
+UNIT_TEST_PROGS += test-completion-words
+test_completion_words_SOURCES = test-completion-words.c
+test_completion_words_LDADD = \
+ $(top_builddir)/gtksourceview/completion-providers/words/libgtksourcecompletionwords.la \
+ $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
+ $(DEP_LIBS) \
+ $(TESTS_LIBS)
+
UNIT_TEST_PROGS += test-language
test_language_SOURCES = \
test-language.c
@@ -80,24 +87,25 @@ test_language_LDADD = \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-printcompositor
-test_printcompositor_SOURCES = \
- test-printcompositor.c
-test_printcompositor_LDADD = \
+UNIT_TEST_PROGS += test-languagemanager
+test_languagemanager_SOURCES = \
+ test-languagemanager.c
+test_languagemanager_LDADD = \
$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-buffer
-test_buffer_SOURCES = test-buffer.c
-test_buffer_LDADD = \
+UNIT_TEST_PROGS += test-mark
+test_mark_SOURCES = test-mark.c
+test_mark_LDADD = \
$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-mark
-test_mark_SOURCES = test-mark.c
-test_mark_LDADD = \
+UNIT_TEST_PROGS += test-printcompositor
+test_printcompositor_SOURCES = \
+ test-printcompositor.c
+test_printcompositor_LDADD = \
$(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
$(DEP_LIBS) \
$(TESTS_LIBS)
@@ -110,22 +118,6 @@ test_regex_LDADD = \
$(GTK_MAC_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-completion-model
-test_completion_model_SOURCES = test-completion-model.c
-test_completion_model_LDADD = \
- $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
- $(top_builddir)/gtksourceview/libgtksourceview-private.la \
- $(DEP_LIBS) \
- $(TESTS_LIBS)
-
-UNIT_TEST_PROGS += test-completion-words
-test_completion_words_SOURCES = test-completion-words.c
-test_completion_words_LDADD = \
- $(top_builddir)/gtksourceview/completion-providers/words/libgtksourcecompletionwords.la \
- $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
- $(DEP_LIBS) \
- $(TESTS_LIBS)
-
UNIT_TEST_PROGS += test-region
test_region_SOURCES = test-region.c
test_region_LDADD = \
@@ -133,13 +125,6 @@ test_region_LDADD = \
$(DEP_LIBS) \
$(TESTS_LIBS)
-UNIT_TEST_PROGS += test-undo-manager
-test_undo_manager_SOURCES = test-undo-manager.c
-test_undo_manager_LDADD = \
- $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
- $(DEP_LIBS) \
- $(TESTS_LIBS)
-
UNIT_TEST_PROGS += test-search-context
test_search_context_SOURCES = test-search-context.c
test_search_context_LDADD = \
@@ -148,6 +133,21 @@ test_search_context_LDADD = \
$(DEP_LIBS) \
$(TESTS_LIBS)
+UNIT_TEST_PROGS += test-styleschememanager
+test_styleschememanager_SOURCES = \
+ test-styleschememanager.c
+test_styleschememanager_LDADD = \
+ $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
+ $(DEP_LIBS) \
+ $(TESTS_LIBS)
+
+UNIT_TEST_PROGS += test-undo-manager
+test_undo_manager_SOURCES = test-undo-manager.c
+test_undo_manager_LDADD = \
+ $(top_builddir)/gtksourceview/libgtksourceview-3.0.la \
+ $(DEP_LIBS) \
+ $(TESTS_LIBS)
+
UNIT_TEST_PROGS += test-utils
test_utils_SOURCES = test-utils.c
test_utils_LDADD = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]