[geany/geany-plugins] e233f5: Merge pull request #169 from b4n/xmlsnippets/use-tests
Frank Lanitz
git-noreply at xxxxx
Mon Oct 20 16:22:26 UTC 2014
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Mon, 20 Oct 2014 16:22:26 UTC
Commit: e233f5fd3e6b3738d193f4acfda007739159951f
https://github.com/geany/geany-plugins/commit/e233f5fd3e6b3738d193f4acfda007739159951f
Log Message:
-----------
Merge pull request #169 from b4n/xmlsnippets/use-tests
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