Skip to content

Commit b8aa422

Browse files
committed
Auto merge of #60386 - Goirad:sgx-ignore-tests, r=nikomatsakis
Added ignore-sgx for appropriate tests in src/test These are all the tests that make sense to ignore when targeting fortanix-unknonw-sgx, at least in test/runpass. Other suites not yet covered.
2 parents 548add7 + 4e7ac47 commit b8aa422

File tree

79 files changed

+113
-20
lines changed

Some content is hidden

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

79 files changed

+113
-20
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: 1 addition & 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

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// pretty-expanded FIXME #23616
33
// ignore-cloudabi no target_family
44
// ignore-wasm32-bare no target_family
5+
// ignore-sgx
56

67
#[cfg(windows)]
78
pub fn main() {

0 commit comments

Comments
 (0)