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
Tests fail #1
Comments
|
thanks for the feedback. just now on Ubuntu 11.04: so next chance i get i'll try with node v0.6.15 and OSX from the top ljs folder you could try running these commands to see where the issue might be:
|
|
In fact the problem can be related to the node version... All lua and luac commands work fine.. The problem is when I run tests/runljs.js I will try to install the suggested versions of node to check if is this the problem... I post here the results.. Thanks! |
|
I tried with an older version of node (v0.6.6) and I've the same problem... Can it be related to the luac generated bytecodes that are not compatible with ljs? (Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio) --- running tests/pass/.lua through lua --- LVMJS=node tests/runljs.jstests/pass/*.lua |
|
Hi! |
|
hi, are you by chance on a 64bit os? if so, the issue could be due to endian mismatch between bytecode produced by your local luac and what LJS expects (currently the format produced by x86/32-bit luac from Lua 5.1). and by lots, do you mean all? in the endian scenario i've only seen things fail as a whole group, so if you are getting mixed results then could be a different issue. if you could try the sequence of commands in my earlier comment (which are the steps the test runner automates) then the output produced should help narrow things down. if interested in hacking on the bytecode loader let me know and i'll try to generate some notes for a starting point; i've also been experimenting with adapting the loader/VM to support Lua 5.2 formats |
|
just checked-in support for lua5.1 bytecode produced by x86_64 luac. i was able to replicate the issues reported -- should now be fixed. looking to get confirmation from OS X users (that "make test" now runs / passes as expected). thanks, -t |
Hi,
I'm trying to compile the code and run the tests, but I'm having problems with this.
Some idea about what is happening?
My configuration:
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
Mac OSX 10.6.8
Node v0.6.15
The text was updated successfully, but these errors were encountered: