[gedit/gnome-3-12] Do not run the document loader/saver unit tests with make check



commit c87f9b031292f2cc75018452349bbc4854e0c3c4
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed May 28 17:52:24 2014 +0200

    Do not run the document loader/saver unit tests with make check
    
    It is difficult to configure the environment to run those unit tests:
    gvfs, ftp, even some values in GSettings, etc.
    
    It is anyway planned in the near future to move the document
    loader/saver in GtkSourceView, where the environment will be simpler to
    configure to run the unit tests (no file metadata with gvfs, and no
    GSettings configuration required).
    
    The unit tests are simply not run for "make check". But they can still
    be run separately.

 tests/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bffba26..23d6aee 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,25 +5,25 @@ tests_progs_cppflags =                \
 tests_progs_cflags = $(GEDIT_CFLAGS)
 tests_progs_ldadd = $(top_builddir)/gedit/libgedit.la $(GEDIT_LIBS)
 
-TESTS                                += tests/document-input-stream
+noinst_PROGRAMS += tests/document-input-stream
 tests_document_input_stream_SOURCES   = tests/document-input-stream.c
 tests_document_input_stream_LDADD     = $(tests_progs_ldadd)
 tests_document_input_stream_CPPFLAGS  = $(tests_progs_cppflags)
 tests_document_input_stream_CFLAGS    = $(tests_progs_cflags)
 
-TESTS                                 += tests/document-output-stream
+noinst_PROGRAMS += tests/document-output-stream
 tests_document_output_stream_SOURCES   = tests/document-output-stream.c
 tests_document_output_stream_LDADD     = $(tests_progs_ldadd)
 tests_document_output_stream_CPPFLAGS  = $(tests_progs_cppflags)
 tests_document_output_stream_CFLAGS    = $(tests_progs_cflags)
 
-TESTS                          += tests/document-loader
+noinst_PROGRAMS += tests/document-loader
 tests_document_loader_SOURCES   = tests/document-loader.c
 tests_document_loader_LDADD     = $(tests_progs_ldadd)
 tests_document_loader_CPPFLAGS  = $(tests_progs_cppflags)
 tests_document_loader_CFLAGS    = $(tests_progs_cflags)
 
-TESTS                         += tests/document-saver
+noinst_PROGRAMS += tests/document-saver
 tests_document_saver_SOURCES   = tests/document-saver.c
 tests_document_saver_LDADD     = $(tests_progs_ldadd)
 tests_document_saver_CPPFLAGS  = $(tests_progs_cppflags)


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