disable broken i386 tests
authorFabian Grünbichler <git@fabian.gruenbichler.email>
Wed, 23 Oct 2024 20:29:50 +0000 (22:29 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Tue, 29 Oct 2024 12:18:35 +0000 (13:18 +0100)
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name disable-broken-i386-tests.patch

tests/ui/consts/const-float-bits-conv.rs
tests/ui/traits/object/print_vtable_sizes.rs

index 3a526c54dc37602a0a894e56c801e84c837d5701..682eff2b30d0fc27bdd3b0b85926694138ebf9f5 100644 (file)
@@ -26,7 +26,8 @@ macro_rules! const_assert {
 
 fn has_broken_floats() -> bool {
     // i586 targets are broken due to <https://github.com/rust-lang/rust/issues/114479>.
-    std::env::var("TARGET").is_ok_and(|v| v.contains("i586"))
+    // Debian: this is true for our i686 target (i368 arch)
+    std::env::var("TARGET").is_ok_and(|v| v.contains("i686"))
 }
 
 #[cfg(target_arch = "x86_64")]
index 684458d079e5e45dab88f36e3ec37589ef7e5732..d288d18865d32ac984cb2b2ec9606e152fb6870c 100644 (file)
@@ -1,5 +1,7 @@
 //@ check-pass
 //@ compile-flags: -Z print-vtable-sizes
+//Debian: broken floats break the expected output on i386
+//@ ignore-i686
 #![crate_type = "lib"]
 
 trait A<T: help::V>: AsRef<[T::V]> + AsMut<[T::V]> {}