[syslog-ng] [PATCH (3.5)] lib/filter/tests: preload the syslogformat module
Balazs Scheidler
bazsi at balabit.hu
Thu May 30 11:27:38 CEST 2013
Hi,
I already had a patch pushed with the same fix.
commit 618908d1f5ceff30792cdff1f4e0a703a2094d79
Author: Balazs Scheidler <bazsi at balabit.hu>
Date: Mon May 27 16:32:13 2013 +0200
lib/filter/tests/test_filters: fix builds in the uninstalled case
This patch adds -dlpreopen syslogformat to test_filters so that it can
find the syslogformat module while testing even if syslog-ng is not
installed.
Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>
On h, 2013-05-27 at 10:47 +0200, Gergely Nagy wrote:
> When linking the filter test program, preload the syslogformat module,
> so that make check will work without installing syslog-ng.
>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
> lib/filter/tests/Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/filter/tests/Makefile.am b/lib/filter/tests/Makefile.am
> index 44326ec..025dd5d 100644
> --- a/lib/filter/tests/Makefile.am
> +++ b/lib/filter/tests/Makefile.am
> @@ -5,6 +5,7 @@ check_PROGRAMS += ${lib_filter_tests_TESTS}
>
> lib_filter_tests_test_filters_CFLAGS = $(TEST_CFLAGS) \
> -I${top_srcdir}/lib/filter/tests
> -lib_filter_tests_test_filters_LDADD = $(TEST_LDADD)
> +lib_filter_tests_test_filters_LDADD = $(TEST_LDADD) \
> + -dlpreopen ${top_builddir}/modules/syslogformat/libsyslogformat.la
> lib_filter_tests_test_filters_SOURCES = \
> lib/filter/tests/test_filters.c
More information about the syslog-ng
mailing list