-
Notifications
You must be signed in to change notification settings - Fork 38
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
Failing tests when ECMA scripting enabled #361
Comments
Sorry, it is broken. ecmascript tests require either spidermonkey=true or quickjs=true or mujs=true . |
Actually it failed with mujs=true too
|
tests failed with both ecmascript=true & sm-scripting=true
Build log:
https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6894664/raw
|
Build log when it failed with mujs=true:
https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6891489/raw
|
I don't know. In container with debian trixie, I cloned repos mentioned in logs, built and installed required packages. |
From branch debian/javascript. |
I build on debian unstable, trixie is debian testing. Please send me the
build log
I am using debian/javascript branch indeed
|
elinks.log.gz
|
`dpkg-query --list` won't show the package versions , please use `dpkg -l`
|
I cannot see difference. |
`dpkg -l` show pkg versions
|
@aelmahmoudy, if you copy and paste command to direcory with tests
|
I tested on my system, and it didn't fail. Note though that I changed
the command a bit to run elinks that is installed on my system, I got 2
binaries, one built against MuJS and the other built against QuickJS,
both passed.
Yet on Launchpad builder the tests fails with this error:
```
'unknown': unknown terminal type.
```
This build was on Ubuntu focal
|
I ran |
I guess elinks requires a terminal. I'll make these tests optional, another bool option to the meson. |
Default enabled, but requires also Dtest=true Not every test environment has access to terminal. AFAIK, elinks needs terminal, js tests depend on elinks binary.
I set |
By the way, I tried running this test interactively, by opening doctype.publicId.html, yet clicking the button does nothing |
I copied content from other files, but did not pay attention to it. Only assertions are meaningful there. |
I see. I tried elinks with one of either MuJS & QuickJS. I tried on sites like GitHub, but I don't see a difference in experience, there are still "Harmless buttons" for example. |
3 tests fail with MuJS engine:
Full build log: https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6917043/raw I didn't pull |
No, mujs is for fans of MuJS. I don't know how to implement these features: (Associative arrays, Promise and ...). |
Btw, commit 4b979b4 fixed the failing JS tests issue (not the MuJS specific ones) |
MuJS is waiting for someone to fix it. For now, do not package MuJS flavor. |
The following 85 tests failed when I build with ECMA scripting enabled:
For a few tests, the stderr says
Segmentation fault (core dumped)
, for most of the tests, stderr says-eval:1: unknown option
Full build log: https://salsa.debian.org/aelmahmoudy/elinks/-/jobs/6891196/raw
The text was updated successfully, but these errors were encountered: