Skip to content

Commit

Permalink
Rollup merge of #103023 - andrewpollack:i-fuchsia-finals, r=tmandry
Browse files Browse the repository at this point in the history
Adding `fuchsia-ignore` and `needs-unwind` to compiler test cases

Final tests covering missing privileges

r? ``@tmandry``

cc. ``@djkoloski``
  • Loading branch information
JohnTitor authored Oct 18, 2022
2 parents e0f8e60 + 810cce8 commit 56e4123
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/test/ui/command/command-current-dir.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// run-pass
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-fuchsia Needs directory creation privilege

use std::env;
use std::fs;
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-30490.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// run-pass
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-fuchsia Child I/O swaps not privileged

// Previously libstd would set stdio descriptors of a child process
// by `dup`ing the requested descriptors to inherit directly into the
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/process/process-spawn-with-unicode-params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-fuchsia Filesystem manipulation privileged

use std::io::prelude::*;
use std::io;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// run-pass
// ignore-fuchsia Test must be run out-of-process

#![feature(test)]

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/test-attrs/test-thread-capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// exec-env:RUST_BACKTRACE=0
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// ignore-emscripten no threads support
// needs-unwind

#[test]
fn thready_pass() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/test-attrs/test-thread-capture.run.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fee
fie
foe
fum
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:31:5
thread 'main' panicked at 'explicit panic', $DIR/test-thread-capture.rs:32:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


Expand Down
1 change: 1 addition & 0 deletions src/test/ui/test-attrs/test-thread-nocapture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// exec-env:RUST_BACKTRACE=0
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// ignore-emscripten no threads support
// needs-unwind

#[test]
fn thready_pass() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/test-attrs/test-thread-nocapture.run.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:31:5
thread 'main' panicked at 'explicit panic', $DIR/test-thread-nocapture.rs:32:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1 change: 1 addition & 0 deletions src/test/ui/threads-sendsync/sync-send-in-std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

use std::net::ToSocketAddrs;

Expand Down

0 comments on commit 56e4123

Please sign in to comment.