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



commit b94c1a64f4ecb2638416d1383c373afe22182f1c
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 2738a9f..2011a7d 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]