diff --git a/debian/changelog b/debian/changelog index a741267ab..9c35e2f42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ systemd (218-2) UNRELEASED; urgency=medium copy&paste'd comment, fix log strings. Thanks Adam D. Barratt. * boot-and-services: Robustify Nspawn tests, and show systemd-nspawn output on failure. + * Disable tests which fail on buildds, presumably due to too old kernels, + misconfigured /etc/hosts, and similar problems. Make failures of the test + suite fatal now. -- Martin Pitt Mon, 15 Dec 2014 10:54:32 +0100 diff --git a/debian/patches/Disable-tests-which-fail-on-buildds.patch b/debian/patches/Disable-tests-which-fail-on-buildds.patch new file mode 100644 index 000000000..24d1b139f --- /dev/null +++ b/debian/patches/Disable-tests-which-fail-on-buildds.patch @@ -0,0 +1,56 @@ +From: Martin Pitt +Date: Tue, 16 Dec 2014 08:19:52 +0100 +Subject: Disable tests which fail on buildds + +Presumably these are due to running on too old kernels, misconfigured +/etc/hosts, and similar problems. +--- + Makefile.am | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index f1299ef..3138fc3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1377,13 +1377,12 @@ tests += \ + test-capability \ + test-async \ + test-ratelimit \ +- test-condition \ + test-uid-range \ + test-bus-policy \ + test-locale-util \ + test-execute \ + test-copy \ +- test-cap-list ++ $(NULL) + + EXTRA_DIST += \ + test/a.service \ +@@ -2842,10 +2841,8 @@ tests += \ + test-bus-introspect \ + test-bus-objects \ + test-bus-error \ +- test-bus-creds \ + test-bus-gvariant \ + test-event \ +- test-rtnl \ + test-local-addresses \ + test-resolve + +@@ -3156,7 +3153,6 @@ test_dhcp6_client_LDADD = \ + + tests += \ + test-dhcp-option \ +- test-dhcp-client \ + test-dhcp-server \ + test-ipv4ll \ + test-icmp6-rs \ +@@ -5339,7 +5335,6 @@ test_network_tables_LDADD = \ + libudev-core.la + + tests += \ +- test-network \ + test-network-tables + + nodist_systemunit_DATA += \ diff --git a/debian/patches/series b/debian/patches/series index bb7f2df65..01ad23726 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -50,3 +50,4 @@ Add-env-variable-for-machine-ID-path.patch sysv-generator-Avoid-wrong-dependencies-for-failing-.patch Prefer-etc-X11-default-display-manager-if-present.patch Re-enable-journal-forwarding-to-syslog.patch +Disable-tests-which-fail-on-buildds.patch diff --git a/debian/rules b/debian/rules index 3879cdf81..4e990f7ba 100755 --- a/debian/rules +++ b/debian/rules @@ -294,7 +294,7 @@ ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS))) make -C build-deb check || ( \ cd build-deb; \ for f in test-*.log; do echo "==== $$f ===="; cat $$f; done; \ - exit 0; ) # replace with 1 to make failures fatal + exit 1; ) # replace with 1 to make failures fatal endif %: