[gnome-logs/wip/test: 10/31] Add gl-journal-mock files to Makefile.am



commit b79ec2c5071e926d767bec32deee1be3d8929507
Author: Rashi Aswani <aswanirashi19 gmail com>
Date:   Wed Jun 10 03:36:19 2015 +0530

    Add gl-journal-mock files to Makefile.am

 Makefile.am |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9230680..3759fe6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -107,6 +107,8 @@ endif
 
 if LOGS_ENABLE_TESTS
 tests/basic.py: gnome-logs
+tests/gl-journal-mock.c: gnome-logs
+tests/gl-journal-mock.h: gnome-logs
 
 test-desktop-file-validate.sh: Makefile
        $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
@@ -145,8 +147,16 @@ tests_test_gl_util_SOURCES = \
        tests/test-gl-util.c \
        src/gl-util.c
 
+tests_test_gl_journal_CFLAGS = \
+       $(LOGS_CFLAGS)
+
+tests_test_gl_journal_SOURCES = \
+       tests/gl-journal-mock.c
+       src/gl-journal.c
+
 check_PROGRAMS = \
        tests/test-gl-util
+       tests/gl-journal-mock
 
 TESTS = \
        $(check_PROGRAMS) \
@@ -232,7 +242,9 @@ dist_noinst_DATA = \
 
 dist_noinst_SCRIPTS = \
        autogen.sh \
-       tests/basic.py
+       tests/basic.py \
+       tests/gl-journal-mock.c \
+       tests/gl-journal-mock.h
 
 dist-hook: git-changelog-hook
 


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