Ignore test failures

This commit is contained in:
Ximin Luo 2017-10-16 18:18:35 +02:00
parent f4af8d6a6a
commit 5666c63bb7
3 changed files with 59 additions and 4 deletions

29
debian/NEWS vendored Normal file
View File

@ -0,0 +1,29 @@
rustc (1.21.0+dfsg1-1) UNRELEASED; urgency=medium
Starting from version 1.20.0+dfsg1-1 (i.e. the previous version) the Debian
packages of rustc no longer fail their build if any tests fail. In other
words, some tests might have failed when building this and future versions
of the package. This due to lack of maintainer time to investigate failures.
Many previous test failures were reported to upstream and did not receive a
timely response, suggesting the failures were not important. I was then
forced to patch out the test to make the build proceed, so several tests were
being ignored in practise anyway.
This brings the Debian package in line with the Fedora package which also
ignores all test failures. (Many other distributions don't run tests at all.)
If you think that the Debian rustc package is miscompiling your program in a
way that the upstream distributed compiler doesn't, you may check the test
failures here:
https://buildd.debian.org/status/package.php?p=rustc
If you can identify a relevant test failure as well as the patches needed to
fix it (either to rustc or LLVM), this will speed up the processing of any
bug reports on the Debian side.
We will also examine these failures ourselves on a best-effort basis and
attempt to fix the more serious-looking ones.
-- Ximin Luo <infinity0@debian.org> Mon, 16 Oct 2017 18:02:23 +0200

30
debian/README.Debian vendored
View File

@ -1,3 +1,33 @@
Test failures
=============
Starting from version 1.20.0+dfsg1-1 the Debian packages of rustc no longer
fail their build if any tests fail. In other words, some tests might have
failed when building this and future versions of the package. This due to lack
of maintainer time to investigate failures.
Many previous test failures were reported to upstream and did not receive a
timely response, suggesting the failures were not important. I was then forced
to patch out the test to make the build proceed, so several tests were being
ignored in practise anyway.
This brings the Debian package in line with the Fedora package which also
ignores all test failures. (Many other distributions don't run tests at all.)
If you think that the Debian rustc package is miscompiling your program in a
way that the upstream distributed compiler doesn't, you may check the test
failures here:
https://buildd.debian.org/status/package.php?p=rustc
If you can identify a relevant test failure, as well as the patches needed to
fix it (either to rustc or LLVM), this will speed up the processing of any bug
reports on the Debian side.
We will also examine these failures ourselves on a best-effort basis and
attempt to fix the more serious-looking ones.
Shared libraries
================

4
debian/rules vendored
View File

@ -223,10 +223,6 @@ endif
RUN_TESTS = \
if $(1); then \
: ; \
elif [ $(DEB_VENDOR) = "Debian" -a $(DEB_DISTRIBUTION) != "experimental" ]; then \
false; \
elif [ $(DEB_VENDOR) = "Ubuntu" -a $(DEB_HOST_ARCH) != "s390x" ]; then \
false ; \
else \
echo "====================================================="; \
echo "WARNING: Ignoring test failures in the rust testsuite"; \