Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with array-in-struct fails on emscripten #41299

Closed
TimNN opened this issue Apr 14, 2017 · 0 comments
Closed

Test with array-in-struct fails on emscripten #41299

TimNN opened this issue Apr 14, 2017 · 0 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. O-asmjs Target: asm.js - http://asmjs.org/ O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!

Comments

@TimNN
Copy link
Contributor

TimNN commented Apr 14, 2017

run-pass/issue-29663.rs fails on emscripten with the following error message:

failures:

---- [run-pass] run-pass/issue-29663.rs stdout ----

error: test run failed!
status: exit code: 101
command: /tmp/emsdk_portable/node/4.1.1_32bit/bin/node /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/issue-29663.stage2-asmjs-unknown-emscripten.js
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
thread 'main' panicked at 'assertion failed: `(left == right)` (left: `E([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])`, right: `E([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])`)', /checkout/src/test/run-pass/issue-29663.rs:61
note: Run with `RUST_BACKTRACE=1` for a backtrace.

------------------------------------------

thread '[run-pass] run-pass/issue-29663.rs' panicked at 'explicit panic', /checkout/src/tools/compiletest/src/runtest.rs:2621
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
    [run-pass] run-pass/issue-29663.rs

test result: FAILED. 2513 passed; 1 failed; 137 ignored; 0 measured

Thus the test is currently ignored on emscripten.

Note: it may be that the failure occurs only on when the test is compiled with optimizations.

Note: this happens when using LLVM 4.0 (this issue was opened now to get an issue number to reference).

@TimNN TimNN added O-asmjs Target: asm.js - http://asmjs.org/ A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. labels Apr 14, 2017
TimNN added a commit to TimNN/rust that referenced this issue Apr 16, 2017
TimNN added a commit to TimNN/rust that referenced this issue Apr 23, 2017
@Mark-Simulacrum Mark-Simulacrum added the A-testsuite Area: The testsuite used to check the correctness of rustc label Jun 20, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Jul 27, 2017
alexcrichton added a commit to alexcrichton/rust that referenced this issue Oct 18, 2017
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 rust-lang#41299
kennytm added a commit to kennytm/rust that referenced this issue Oct 19, 2017
…komatsakis

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 rust-lang#41299
@workingjubilee workingjubilee added the O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL! label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc C-bug Category: This is a bug. O-asmjs Target: asm.js - http://asmjs.org/ O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
Projects
None yet
Development

No branches or pull requests

3 participants