diff options
author | Michael Biebl <biebl@debian.org> | 2009-08-21 22:54:30 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2009-08-21 23:03:40 +0200 |
commit | 5923e6cbbc2a26c53a4fde20d50235fa6a33f7e9 (patch) | |
tree | a84fa0b3c0517f8d410616ebf72cacf30cb71551 /debian/patches | |
parent | 540b3d86089d6571be29317f1ab6d84273cad817 (diff) | |
download | rsyslog-5923e6cbbc2a26c53a4fde20d50235fa6a33f7e9.tar.gz |
Ensure check_JAVA is not called with --disable-testbench
* debian/patches/testbench-java.patch
- Move check_JAVA inside the ENABLE_TESTBENCH section so the tests are not
run unless the testbench is enabled.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/testbench-java.patch | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series index a67e0b0..a7310d2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ no_create_db.patch +testbench-java.patch diff --git a/debian/patches/testbench-java.patch b/debian/patches/testbench-java.patch new file mode 100644 index 0000000..aefe94c --- /dev/null +++ b/debian/patches/testbench-java.patch @@ -0,0 +1,45 @@ +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 88c3137..3f5a6c3 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -12,14 +12,14 @@ if ENABLE_OMSTDOUT + TESTS += omod-if-array.sh parsertest.sh inputname.sh fieldtest.sh + endif + ++check_JAVA = DiagTalker.java ++ + endif # if ENABLE_TESTBENCH + + TESTS_ENVIRONMENT = RSYSLOG_MODDIR='$(abs_top_builddir)'/runtime/.libs/ + DISTCLEANFILES=rsyslog.pid '$(abs_top_builddir)'/DiagTalker.class + test_files = testbench.h runtime-dummy.c + +-check_JAVA = DiagTalker.java +- + EXTRA_DIST= 1.rstest 2.rstest 3.rstest err1.rstest \ + validation-run.sh \ + testsuites/invalid.conf \ +diff --git a/tests/Makefile.in b/tests/Makefile.in +index d709ba8..08d1be6 100644 +--- a/tests/Makefile.in ++++ b/tests/Makefile.in +@@ -178,6 +178,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ + PACKAGE_NAME = @PACKAGE_NAME@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ ++PACKAGE_URL = @PACKAGE_URL@ + PACKAGE_VERSION = @PACKAGE_VERSION@ + PATH_SEPARATOR = @PATH_SEPARATOR@ + PGSQL_CFLAGS = @PGSQL_CFLAGS@ +@@ -257,10 +258,10 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + @ENABLE_TESTBENCH_TRUE@TESTRUNS = rt_init rscript ++@ENABLE_TESTBENCH_TRUE@check_JAVA = DiagTalker.java + TESTS_ENVIRONMENT = RSYSLOG_MODDIR='$(abs_top_builddir)'/runtime/.libs/ + DISTCLEANFILES = rsyslog.pid '$(abs_top_builddir)'/DiagTalker.class + test_files = testbench.h runtime-dummy.c +-check_JAVA = DiagTalker.java + EXTRA_DIST = 1.rstest 2.rstest 3.rstest err1.rstest \ + validation-run.sh \ + testsuites/invalid.conf \ |