Skip to content

Commit d9ecdfe

Browse files
committed
test: Update Emscripten failures/passing
All tests should now have annotation for *why* they're ignored on emscripten. A few tests no longer need such an annotation as well! Closes #41299
1 parent 0be6863 commit d9ecdfe

Some content is hidden

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

55 files changed

+60
-61
lines changed

src/ci/docker/asmjs/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1616
COPY scripts/emscripten.sh /scripts/
1717
RUN bash /scripts/emscripten.sh
1818

19+
COPY scripts/sccache.sh /scripts/
20+
RUN sh /scripts/sccache.sh
21+
1922
ENV PATH=$PATH:/emsdk-portable
2023
ENV PATH=$PATH:/emsdk-portable/clang/e1.37.13_64bit/
2124
ENV PATH=$PATH:/emsdk-portable/emscripten/1.37.13/
@@ -28,7 +31,4 @@ ENV TARGETS=asmjs-unknown-emscripten
2831

2932
ENV RUST_CONFIGURE_ARGS --target=$TARGETS
3033

31-
ENV SCRIPT python2.7 ../x.py test --target $TARGETS
32-
33-
COPY scripts/sccache.sh /scripts/
34-
RUN sh /scripts/sccache.sh
34+
ENV SCRIPT python2.7 ../x.py test --target $TARGETS src/test/run-pass

src/test/compile-fail/macro-expanded-include/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-emscripten
11+
// ignore-emscripten no asm! support
1212

1313
#![feature(asm, rustc_attrs)]
1414
#![allow(unused)]

src/test/run-pass/asm-concat-src.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// pretty-expanded FIXME #23616
12-
// ignore-emscripten
12+
// ignore-emscripten no asm
1313

1414
#![feature(asm)]
1515

src/test/run-pass/command-before-exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-windows - this is a unix-specific test
12-
// ignore-emscripten
12+
// ignore-emscripten no processes
1313

1414
#![feature(process_exec, libc)]
1515

src/test/run-pass/command-exec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
// ignore-windows - this is a unix-specific test
1212
// ignore-pretty issue #37199
13-
// ignore-emscripten
13+
// ignore-emscripten no processes
14+
1415
#![feature(process_exec)]
1516

1617
use std::env;

src/test/run-pass/core-run-destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// compile-flags:--test
12-
// ignore-emscripten
12+
// ignore-emscripten no processes
1313

1414
// NB: These tests kill child processes. Valgrind sees these children as leaking
1515
// memory, which makes for some *confusing* logs. That's why these are here

src/test/run-pass/env-args-reverse-iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-emscripten
11+
// ignore-emscripten no processes
1212

1313
use std::env::args;
1414
use std::process::Command;

src/test/run-pass/env-funky-keys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// ignore-android
1414
// ignore-windows
15-
// ignore-emscripten
15+
// ignore-emscripten no execve
1616
// no-prefer-dynamic
1717

1818
#![feature(libc)]

src/test/run-pass/env-home-dir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-emscripten
11+
// ignore-emscripten env vars don't work?
1212

1313
#![feature(path)]
1414

src/test/run-pass/extern-pass-empty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// pretty-expanded FIXME #23616
1414
// ignore-msvc
15-
// ignore-emscripten
15+
// ignore-emscripten emcc asserts on an empty struct as an argument
1616

1717
#[repr(C)]
1818
struct TwoU8s {

0 commit comments

Comments
 (0)