Strange failures of Emscripten's tests

20 views
Skip to first unread message

Qwerty Uiop

unread,
May 31, 2020, 10:10:56 AM5/31/20
to emscripten-discuss
Hi,

I've been trying to run Emscripten's tests locally and I've got strange failures.

E.g. when I run
python tests/runner.py test_unistd_io
I get
...
AssertionError: JS subprocess failed (/home/brd/soft/SpiderMonkeyShell-nightly-2020-05-30/js -w /tmp/emscripten_test/src.cpp.o.js): 1.  Output:
Assertion failed: undefined
Assertion failed: undefined
exception thrown
: RuntimeError: abort(Assertion failed: undefined) at jsStackTrace@/tmp/emscripten_test/src.cpp.o.js:7402:17
...

The line 7402 of src.cpp.o.js is the first line of the function jsStackTrace:
var err = new Error();
So it looks like Error itself is undefined.
Of course, when I run SpiderMonkey on a simple js file containing just that line, it works fine.

I'm using the latest master revisions of Emscripten, Fastcomp and Binaryen as of Friday, May 29.

I have the impression that something is wrong with my setup but can't figure out where the problem is exactly.
Could anyone give me a clue?

Also, could anyone point me to the official build server where I might see the current status of the tests?

Alon Zakai

unread,
Jun 1, 2020, 11:55:17 AM6/1/20
to emscripte...@googlegroups.com
We don't run tests on our CI using the SpiderMonkey shell (but we do test Firefox in the browser suite), so perhaps we need to add something in src/shell.js for it.

Our CI shell tests mostly run in node, with a few using d8 when we test very new wasm features not yet in node.

The current status of the tests can be seen on github where we run CI,


Each commit has a green check or a red x, and clicking on those gets you to links to see the detailed results.


--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/6bccd969-e9fa-4b4e-a505-6a69c0d492ba%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages