[geany/geany-plugins] ef7892: xmlsnippets: Build and run tests
Colomban Wendling
git-noreply at xxxxx
Mon Oct 20 15:41:39 UTC 2014
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 20 Oct 2014 15:41:39 UTC
Commit: ef78921ee60d231c4114ba73365c5b85fdfbdd09
https://github.com/geany/geany-plugins/commit/ef78921ee60d231c4114ba73365c5b85fdfbdd09
Log Message:
-----------
xmlsnippets: Build and run tests
Modified Paths:
--------------
xmlsnippets/src/Makefile.am
Modified: xmlsnippets/src/Makefile.am
14 lines changed, 12 insertions(+), 2 deletions(-)
===================================================================
@@ -2,12 +2,22 @@ include $(top_srcdir)/build/vars.build.mk
geanyplugins_LTLIBRARIES = xmlsnippets.la
+check_PROGRAMS = xmlsnippets-check
+
+common_sources = xmlsnippets.c xmlsnippets.h
+
xmlsnippets_la_SOURCES = \
plugin.c plugin.h \
+ $(common_sources)
+
+xmlsnippets_la_LIBADD = $(COMMONLIBS)
+
+xmlsnippets_check_SOURCES = \
tests.c \
test-stubs.c test-stubs.h \
- xmlsnippets.c xmlsnippets.h
+ $(common_sources)
-xmlsnippets_la_LIBADD = $(COMMONLIBS)
+xmlsnippets_check_CPPFLAGS = -DTEST
+xmlsnippets_check_LDADD = $(COMMONLIBS)
include $(top_srcdir)/build/cppcheck.mk
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list