mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-11 12:41:56 +00:00
Make test suite failures fatal
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.
This commit is contained in:
parent
bcdf8f9e46
commit
cdd04c8a4c
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -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 <mpitt@debian.org> Mon, 15 Dec 2014 10:54:32 +0100
|
||||
|
||||
|
||||
56
debian/patches/Disable-tests-which-fail-on-buildds.patch
vendored
Normal file
56
debian/patches/Disable-tests-which-fail-on-buildds.patch
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
From: Martin Pitt <martin.pitt@ubuntu.com>
|
||||
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 += \
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -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
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
||||
%:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user