]> git.proxmox.com Git - rustc.git/commitdiff
Temporarily ignore some tests that fail on big-endian
authorXimin Luo <infinity0@debian.org>
Tue, 5 Oct 2021 22:19:18 +0000 (23:19 +0100)
committerXimin Luo <infinity0@debian.org>
Tue, 5 Oct 2021 22:19:18 +0000 (23:19 +0100)
debian/changelog
debian/patches/series
debian/patches/u-ignore-endian-big-diff.patch [new file with mode: 0644]
debian/patches/u-tests-ignore-arm.patch [deleted file]

index 98106d63d240e16b06b5a7338345b028af1cb15f..281a0e78818616be13ecab92a059273035af272b 100644 (file)
@@ -2,6 +2,7 @@ rustc (1.53.0+dfsg1-1) UNRELEASED; urgency=medium
 
   * Upload to unstable.
   * Update mips patches, disable a test as our workaround makes it invalid.
+  * Temporarily ignore some tests that fail on big-endian.
 
  -- Ximin Luo <infinity0@debian.org>  Tue, 05 Oct 2021 22:37:51 +0100
 
index 4b9819e8dda6e0738daeab21b2110b9c75fff8d3..aa91a284edcd54236c55765cadbadb9b80c3bb5b 100644 (file)
@@ -5,16 +5,16 @@ u-85807.patch
 0001-Revert-Auto-merge-of-79547.patch
 u-84752.patch
 u-reproducible-build.patch
-u-make-tests-work-without-rpath.patch
-u-tests-ignore-arm.patch
 u-ignore-endian-big.patch
-u-build-cargo-only-if-requested.patch
 u-fix-cross-compile-tools.patch
-#u-allow-system-compiler-rt.patch
 
 # not forwarded, or forwarded but unlikely to be merged
+u-ignore-endian-big-diff.patch
 u-rustc-llvm-cross-flags.patch
 u-reproducible-dl-stage0.patch
+u-make-tests-work-without-rpath.patch
+u-build-cargo-only-if-requested.patch
+#u-allow-system-compiler-rt.patch
 
 # Debian-specific patches, not suitable for upstream
 # Patches needed by debian/prune-unused-deps
diff --git a/debian/patches/u-ignore-endian-big-diff.patch b/debian/patches/u-ignore-endian-big-diff.patch
new file mode 100644 (file)
index 0000000..556a80d
--- /dev/null
@@ -0,0 +1,43 @@
+Bug: https://github.com/rust-lang/rust/issues/89577
+--- a/src/test/ui/consts/const-eval/ub-enum.rs
++++ b/src/test/ui/consts/const-eval/ub-enum.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ // stderr-per-bitwidth
+ #![feature(never_type)]
+ #![allow(const_err)] // make sure we cannot allow away the errors tested here
+--- a/src/test/ui/consts/const-eval/ub-int-array.rs
++++ b/src/test/ui/consts/const-eval/ub-int-array.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ #![allow(const_err)] // make sure we cannot allow away the errors tested here
+ // stderr-per-bitwidth
+ //! Test the "array of int" fast path in validity checking, and in particular whether it
+--- a/src/test/ui/consts/const-eval/ub-nonnull.rs
++++ b/src/test/ui/consts/const-eval/ub-nonnull.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ // stderr-per-bitwidth
+ #![feature(rustc_attrs)]
+ #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here
+--- a/src/test/ui/consts/const-eval/ub-ref-ptr.rs
++++ b/src/test/ui/consts/const-eval/ub-ref-ptr.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ // ignore-tidy-linelength
+ // stderr-per-bitwidth
+ #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here
+--- a/src/test/ui/consts/const-eval/ub-uninhabit.rs
++++ b/src/test/ui/consts/const-eval/ub-uninhabit.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ // stderr-per-bitwidth
+ #![allow(const_err)] // make sure we cannot allow away the errors tested here
+--- a/src/test/ui/consts/const-eval/ub-wide-ptr.rs
++++ b/src/test/ui/consts/const-eval/ub-wide-ptr.rs
+@@ -1,3 +1,4 @@
++// ignore-test
+ // stderr-per-bitwidth
+ // ignore-tidy-linelength
+ #![allow(unused)]
diff --git a/debian/patches/u-tests-ignore-arm.patch b/debian/patches/u-tests-ignore-arm.patch
deleted file mode 100644 (file)
index c02b936..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Bug: https://github.com/rust-lang/rust/issues/67242
-Description: this test is new in 1.40 and the failure is present on many
- previous rust versions without users having complained or noticed, so
- just ignore the failure until upstream fixes it
---- a/src/test/run-make-fulldeps/foreign-exceptions/Makefile
-+++ b/src/test/run-make-fulldeps/foreign-exceptions/Makefile
-@@ -1,3 +1,5 @@
-+# ignore-arm
-+
- -include ../tools.mk
- all: foo