mirror of
https://git.proxmox.com/git/rustc
synced 2025-12-31 08:06:17 +00:00
fix some test breakage
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
This commit is contained in:
parent
9d679bcd40
commit
e2d37ca4fd
@ -16,7 +16,7 @@ Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
|
||||
index bdfee55..2abb6a8 100644
|
||||
index bdfee55..13a84d3 100644
|
||||
--- a/src/bootstrap/src/core/config/config.rs
|
||||
+++ b/src/bootstrap/src/core/config/config.rs
|
||||
@@ -1372,6 +1372,8 @@ impl Config {
|
||||
|
||||
46
debian/patches/upstream/u-hurd-tests.patch
vendored
46
debian/patches/upstream/u-hurd-tests.patch
vendored
@ -1,16 +1,50 @@
|
||||
From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
||||
Date: Thu, 13 Jun 2024 11:16:39 +0200
|
||||
Subject: These tests hang or make the box OOM
|
||||
Subject: compiletest: add ignore-hurd support and annotate some tests
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
These tests hang or make the box OOM
|
||||
|
||||
Forwarded: no
|
||||
|
||||
|
||||
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
|
||||
---
|
||||
src/tools/compiletest/src/command-list.rs | 1 +
|
||||
src/tools/compiletest/src/header/tests.rs | 1 +
|
||||
tests/crashes/115994.rs | 1 +
|
||||
tests/run-make/long-linker-command-lines/foo.rs | 7 +++++++
|
||||
tests/ui/associated-consts/issue-93775.rs | 1 +
|
||||
tests/ui/issues/issue-74564-if-expr-stack-overflow.rs | 1 +
|
||||
tests/ui/threads-sendsync/mpsc_stress.rs | 1 +
|
||||
5 files changed, 11 insertions(+)
|
||||
7 files changed, 13 insertions(+)
|
||||
|
||||
diff --git a/src/tools/compiletest/src/command-list.rs b/src/tools/compiletest/src/command-list.rs
|
||||
index a559d6f..1c2ff87 100644
|
||||
--- a/src/tools/compiletest/src/command-list.rs
|
||||
+++ b/src/tools/compiletest/src/command-list.rs
|
||||
@@ -54,6 +54,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
|
||||
"ignore-gnu",
|
||||
"ignore-haiku",
|
||||
"ignore-horizon",
|
||||
+ "ignore-hurd",
|
||||
"ignore-i686-pc-windows-gnu",
|
||||
"ignore-i686-pc-windows-msvc",
|
||||
"ignore-illumos",
|
||||
diff --git a/src/tools/compiletest/src/header/tests.rs b/src/tools/compiletest/src/header/tests.rs
|
||||
index 29e11e7..eeb54e9 100644
|
||||
--- a/src/tools/compiletest/src/header/tests.rs
|
||||
+++ b/src/tools/compiletest/src/header/tests.rs
|
||||
@@ -282,6 +282,7 @@ fn ignore_target() {
|
||||
assert!(check_ignore(&config, "//@ ignore-x86_64-unknown-linux-gnu"));
|
||||
assert!(check_ignore(&config, "//@ ignore-x86_64"));
|
||||
assert!(check_ignore(&config, "//@ ignore-linux"));
|
||||
+ assert!(check_ignore(&config, "//@ ignore-hurd"));
|
||||
assert!(check_ignore(&config, "//@ ignore-unix"));
|
||||
assert!(check_ignore(&config, "//@ ignore-gnu"));
|
||||
assert!(check_ignore(&config, "//@ ignore-64bit"));
|
||||
diff --git a/tests/crashes/115994.rs b/tests/crashes/115994.rs
|
||||
index 23d1507..e0714e5 100644
|
||||
--- a/tests/crashes/115994.rs
|
||||
@ -41,24 +75,24 @@ index 5b30c06..9ef0d5a 100644
|
||||
let ok = PathBuf::from("ok");
|
||||
if env::var("YOU_ARE_A_LINKER").is_ok() {
|
||||
diff --git a/tests/ui/associated-consts/issue-93775.rs b/tests/ui/associated-consts/issue-93775.rs
|
||||
index c9044e2..a49a280 100644
|
||||
index c9044e2..5fb093d 100644
|
||||
--- a/tests/ui/associated-consts/issue-93775.rs
|
||||
+++ b/tests/ui/associated-consts/issue-93775.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ build-pass
|
||||
// ignore-tidy-linelength
|
||||
+// ignore-hurd
|
||||
+//@ ignore-hurd
|
||||
|
||||
// Regression for #93775, needs build-pass to test it.
|
||||
|
||||
diff --git a/tests/ui/issues/issue-74564-if-expr-stack-overflow.rs b/tests/ui/issues/issue-74564-if-expr-stack-overflow.rs
|
||||
index c0ffed2..6693c07 100644
|
||||
index c0ffed2..1e97353 100644
|
||||
--- a/tests/ui/issues/issue-74564-if-expr-stack-overflow.rs
|
||||
+++ b/tests/ui/issues/issue-74564-if-expr-stack-overflow.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ build-pass
|
||||
// ignore-tidy-filelength
|
||||
+// ignore-hurd
|
||||
+//@ ignore-hurd
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
fn banana(v: &str) -> u32 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user