Rollup merge of #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``
This commit is contained in:
Yuki Okushi 2022-10-18 21:21:29 +09:00 committed by GitHub
commit 56e412382e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 2 deletions

View file

@ -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;

View file

@ -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

View file

@ -9,6 +9,7 @@
// ignore-emscripten no processes
// ignore-sgx no processes
// ignore-fuchsia Filesystem manipulation privileged
use std::io::prelude::*;
use std::io;

View file

@ -1,4 +1,5 @@
// run-pass
// ignore-fuchsia Test must be run out-of-process
#![feature(test)]

View file

@ -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() {

View file

@ -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

View file

@ -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() {

View file

@ -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

View file

@ -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;