Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 00a0b4b

Browse files
authoredOct 18, 2022
Rollup merge of rust-lang#103023 - andrewpollack:i-fuchsia-finals, r=tmandry
Adding `fuchsia-ignore` and `needs-unwind` to compiler test cases Final tests covering missing privileges r? `@tmandry` cc. `@djkoloski`
2 parents 1d30a2e + 810cce8 commit 00a0b4b

9 files changed

+9
-2
lines changed
 

‎src/test/ui/command/command-current-dir.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// run-pass
22
// ignore-emscripten no processes
33
// ignore-sgx no processes
4+
// ignore-fuchsia Needs directory creation privilege
45

56
use std::env;
67
use std::fs;

‎src/test/ui/issues/issue-30490.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// run-pass
22
// ignore-emscripten no processes
33
// ignore-sgx no processes
4+
// ignore-fuchsia Child I/O swaps not privileged
45

56
// Previously libstd would set stdio descriptors of a child process
67
// by `dup`ing the requested descriptors to inherit directly into the

‎src/test/ui/process/process-spawn-with-unicode-params.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
// ignore-emscripten no processes
1111
// ignore-sgx no processes
12+
// ignore-fuchsia Filesystem manipulation privileged
1213

1314
use std::io::prelude::*;
1415
use std::io;

‎src/test/ui/test-attrs/test-fn-signature-verification-for-explicit-return-type.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// run-pass
2+
// ignore-fuchsia Test must be run out-of-process
23

34
#![feature(test)]
45

‎src/test/ui/test-attrs/test-thread-capture.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// exec-env:RUST_BACKTRACE=0
66
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
77
// ignore-emscripten no threads support
8+
// needs-unwind
89

910
#[test]
1011
fn thready_pass() {

‎src/test/ui/test-attrs/test-thread-capture.run.stdout

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fee
1010
fie
1111
foe
1212
fum
13-
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:31:5
13+
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:32:5
1414
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1515

1616

‎src/test/ui/test-attrs/test-thread-nocapture.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// exec-env:RUST_BACKTRACE=0
66
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
77
// ignore-emscripten no threads support
8+
// needs-unwind
89

910
#[test]
1011
fn thready_pass() {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:31:5
1+
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:32:5
22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

‎src/test/ui/threads-sendsync/sync-send-in-std.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// ignore-wasm32-bare networking not available
44
// ignore-sgx ToSocketAddrs cannot be used for DNS Resolution
5+
// ignore-fuchsia Req. test-harness networking privileges
56

67
use std::net::ToSocketAddrs;
78

0 commit comments

Comments
 (0)
Please sign in to comment.