From edefbf7f7058f618cb8e87c1a4758e026dad69ae Mon Sep 17 00:00:00 2001 From: Pierre Wieser Date: Mon, 14 Mar 2011 06:52:28 +0100 Subject: [PATCH] Tests: do not build test programs in release mode Rationale: these programs are only relevant to the maintainer, which builds and runs them in order to check such or such feature or proof of concept. These are not relevant in a release. --- ChangeLog | 4 ++++ src/test/Makefile.am | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1832e563..eeb459bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-03-14 Pierre Wieser + + * src/test/Makefile.am: Do not build test programs in release mode. + 2011-03-13 Pierre Wieser * configure.ac: Post-release version bump. diff --git a/src/test/Makefile.am b/src/test/Makefile.am index d297d481..5f49c55a 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -26,6 +26,11 @@ # Pierre Wieser # ... and many others (see AUTHORS) +# Test programs are only relevant for the maintainer and his own tests +# Do not build them in a release + +if NA_MAINTAINER_MODE + noinst_PROGRAMS = \ test-reader \ test-iface \ @@ -117,3 +122,6 @@ test_virtuals_without_test_SOURCES = \ test_virtuals_without_test_LDADD = \ $(NAUTILUS_ACTIONS_LIBS) \ $(NULL) + +endif +#if NA_MAINTAINER_MODE -- 2.11.4.GIT