Skip to content

Commit f2466cd

Browse files
committed
Added ignore-sgx for appropriate tests
1 parent 1962ade commit f2466cd

File tree

77 files changed

+106
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+106
-7
lines changed

src/test/codegen/dllimports/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ignore-netbsd
1313
// ignore-openbsd
1414
// ignore-solaris
15+
// ignore-sgx no dynamic linking
1516

1617
// aux-build:dummy.rs
1718
// aux-build:wrapper.rs

src/test/codegen/panic-abort-windows.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// ignore-netbsd
1212
// ignore-openbsd
1313
// ignore-solaris
14+
// ignore-sgx
1415

1516
// compile-flags: -C no-prepopulate-passes -C panic=abort -O
1617

src/test/incremental/foreign.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Test what happens we save incremental compilation state that makes
22
// use of foreign items. This used to ICE (#34991).
3+
// ignore-sgx no libc
34

45
// revisions: rpass1
56

src/test/run-pass-valgrind/exit-flushes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// no-prefer-dynamic
22
// ignore-cloudabi
33
// ignore-emscripten
4+
// ignore-sgx no processes
45
// ignore-macos this needs valgrind 3.11 or higher; see
56
// https://github.com/rust-lang/rust/pull/30365#issuecomment-165763679
67

src/test/run-pass/abort-on-c-abi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// ignore-cloudabi no env and process
66
// ignore-emscripten no processes
7+
// ignore-sgx no processes
78

89
use std::{env, panic};
910
use std::io::prelude::*;

src/test/run-pass/atomic-print.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![allow(deprecated)]
33
// ignore-cloudabi no process support
44
// ignore-emscripten no threads support
5+
// ignore-sgx no processes
56

67
use std::{env, fmt, process, sync, thread};
78

@@ -30,9 +31,13 @@ fn main(){
3031
do_print(2);
3132
t.join();
3233
} else {
34+
println!("{:?}", env::args());
3335
let this = env::args().next().unwrap();
36+
println!("b");
3437
let output = process::Command::new(this).arg("-").output().unwrap();
38+
println!("c");
3539
for line in String::from_utf8(output.stdout).unwrap().lines() {
40+
println!("{}", &line);
3641
match line.chars().next().unwrap() {
3742
'1' => assert_eq!(line, "11111"),
3843
'2' => assert_eq!(line, "22222"),

src/test/run-pass/backtrace-debuginfo.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// ignore-cloudabi spawning processes is not supported
1212
// ignore-emscripten spawning processes is not supported
1313
// normalize-stderr-test ".*\n" -> ""
14+
// ignore-sgx no processes
1415

1516
// Note that above `-opt-bisect-limit=0` is used to basically disable
1617
// optimizations. It creates tons of output on stderr, hence we normalize

src/test/run-pass/backtrace.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// ignore-cloudabi spawning processes is not supported
33
// ignore-emscripten spawning processes is not supported
44
// ignore-openbsd no support for libbacktrace without filename
5+
// ignore-sgx no processes
56
// compile-flags:-g
67

78
use std::env;

src/test/run-pass/c-stack-returning-int64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// ignore-wasm32-bare no libc to test with
2+
// ignore-sgx no libc
23

34
#![feature(rustc_private)]
45

src/test/run-pass/cfg/cfg-family.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// run-pass
22
// pretty-expanded FIXME #23616
3-
// ignore-cloudabi no target_family
4-
// ignore-wasm32-bare no target_family
53

64
#[cfg(windows)]
75
pub fn main() {
@@ -10,3 +8,7 @@ pub fn main() {
108
#[cfg(unix)]
119
pub fn main() {
1210
}
11+
12+
#[cfg(not(any(windows, unix)))]
13+
pub fn main() {
14+
}

0 commit comments

Comments
 (0)