[gnome-logs/wip/test: 33/33] Add Behave tests to Makefile.am and configure.ac



commit 3ad7546fe8cb830b4b0c0ec68575b50dd03030bf
Author: Rashi Aswani <aswanirashi19 gmail com>
Date:   Wed Aug 19 11:17:23 2015 +0530

    Add Behave tests to Makefile.am and configure.ac

 Makefile.am  |    8 ++++----
 configure.ac |    2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ebbe3f7..7f8ac50 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -175,10 +175,6 @@ nodist_tests_gnome_logs_test_SOURCES = \
         src/gl-enums.c \
         src/gl-resource.c
 
-enum_data = \
-        src/gl-enums.c \
-        src/gl-enums.h
-
 tests_gnome_logs_test_enum_headers = \
         $(srcdir)/src/gl-categorylist.h \
         $(srcdir)/src/gl-eventtoolbar.h \
@@ -268,6 +264,10 @@ TESTS = \
        $(check_SCRIPTS)
 endif
 
+ BEHAVE_INSTALLED_TESTS_RULE@
+INSTALLED_TESTS=general.feature
+INSTALLED_TESTS_TYPE=session-exclusive
+
 iconthemedir = $(datadir)/icons/hicolor
 
 appicon16dir = $(iconthemedir)/16x16/apps
diff --git a/configure.ac b/configure.ac
index 95e76d1..533e776 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,8 @@ AS_IF([test "x$enable_man" != "xno"],
 
 AM_CONDITIONAL([ENABLE_MAN], [test "x$have_manutils" = "xyes"])
 
+BEHAVE_INSTALLED_TESTS
+
 dnl AppData XML
 APPSTREAM_XML
 


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