summaryrefslogtreecommitdiff
path: root/user/rust/0009-Ignore-broken-and-non-applicable-tests.patch
blob: b8b1b893209cb14a7527fcc7bc2b2d86a076b870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From cc6d3d3ab26517d5f8f09536b016154944bdceff Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Sun, 16 Sep 2018 16:38:48 +0000
Subject: [PATCH 09/12] Ignore broken and non-applicable tests

env-funky-keys: can't handle LD_PRELOAD (e.g. sandbox)
long-linker-command-lines: takes >10 minutes to run (but still passes)
sysroot-crates-are-unstable: can't run rustc without RPATH
---
 tests/run-make/long-linker-command-lines/Makefile   | 2 ++
 tests/run-make/sysroot-crates-are-unstable/Makefile | 2 ++
 tests/ui/process/env-funky-keys.rs                  | 1 +
 3 files changed, 7 insertions(+)

diff --git a/tests/run-make/long-linker-command-lines/Makefile b/tests/run-make/long-linker-command-lines/Makefile
index f864ea74f4a95..f16eaf544cc3f 100644
--- a/tests/run-make/long-linker-command-lines/Makefile
+++ b/tests/run-make/long-linker-command-lines/Makefile
@@ -1,4 +1,6 @@
 # ignore-cross-compile
+# ignore-test
+
 include ../tools.mk
 
 export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
diff --git a/tests/run-make/sysroot-crates-are-unstable/Makefile b/tests/run-make/sysroot-crates-are-unstable/Makefile
index 30c33c5c13d20..d733bb1c557f5 100644
--- a/tests/run-make/sysroot-crates-are-unstable/Makefile
+++ b/tests/run-make/sysroot-crates-are-unstable/Makefile
@@ -1,3 +1,5 @@
+# ignore-test
+
 -include ../tools.mk
 
 all:
diff --git a/tests/ui/env-funky-keys.rs b/tests/ui/env-funky-keys.rs
index 314ccaea01525..7f5b9efaa10b1 100644
--- a/tests/ui/process/env-funky-keys.rs
+++ b/tests/ui/process/env-funky-keys.rs
@@ -1,6 +1,7 @@
 //@ run-pass
 // Ignore this test on Android, because it segfaults there.
 
+//@ ignore-test
 //@ ignore-android
 //@ ignore-windows
 //@ ignore-wasm32 no execve