Closed tankf33der closed 3 years ago
Just that test failed? Can you paste the test suite summary (last line)?
Just that test failed? Can you paste the test suite summary (last line)?
Only this failed.
493 successes / 1 failures / 13.244206 seconds
Looks like the test failed to capture outputs from stderr
, I will have to get hands on a Fedora box later to debug that. This should be a minor issue though, and probably only that test is affected, not the language.
ArchLinux and Debian SID fully passed, Solaris SPARC failed to start test suite.
ArchLinux and Debian SID fully passed, Solaris SPARC failed to start test suite.
Share the error on SPARC then, I've tested Solaris x86_64 a few weeks ago, and everything was passing. Just SPARC fails?
$ uname -a
SunOS landau 5.11 11.4.35.94.4 sun4v sparc sun4v
$ gmake test
./nelua-lua spec/init.lua
luainit.lua: bad binary format (integer format mismatch)./nelua-lua: spec/init.lua:1: module 'nelua.thirdparty.lester' not found:
no field package.preload['nelua.thirdparty.lester']
no file '/usr/local/share/lua/5.4/nelua/thirdparty/lester.lua'
no file '/usr/local/share/lua/5.4/nelua/thirdparty/lester/init.lua'
no file '/usr/share/lua/5.4/nelua/thirdparty/lester.lua'
no file '/usr/share/lua/5.4/nelua/thirdparty/lester/init.lua'
no file '/usr/local/lib/lua/5.4/nelua/thirdparty/lester.lua'
no file '/usr/local/lib/lua/5.4/nelua/thirdparty/lester/init.lua'
no file '/usr/lib/lua/5.4/nelua/thirdparty/lester.lua'
no file '/usr/lib/lua/5.4/nelua/thirdparty/lester/init.lua'
no file './nelua/thirdparty/lester.lua'
no file './nelua/thirdparty/lester/init.lua'
no file '/usr/local/lib/lua/5.4/nelua/thirdparty/lester.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './nelua/thirdparty/lester.so'
no file '/usr/lib/lua/5.4/nelua/thirdparty/lester.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file './nelua/thirdparty/lester.so'
no file ''
no file '/usr/local/lib/lua/5.4/nelua.so'
no file '/usr/local/lib/lua/5.4/loadall.so'
no file './nelua.so'
no file '/usr/lib/lua/5.4/nelua.so'
no file '/usr/lib/lua/5.4/loadall.so'
no file './nelua.so'
no file ''
stack traceback:
[C]: in function 'require'
spec/init.lua:1: in main chunk
[C]: in ?
gmake: *** [Makefile:138: test] Error 1
$
$ uname -a SunOS landau 5.11 11.4.35.94.4 sun4v sparc sun4v $ gmake test ./nelua-lua spec/init.lua luainit.lua: bad binary format (integer format mismatch)
I've fixed that error in commit https://github.com/edubart/nelua-lang/commit/c99f3bf29a161af09024b7f1f7fde7bd513704b1, it happened because I've started to use some bytecode compiled Lua scripts, and now I've noticed that Lua bytecode is not portable across systems with different endianness, so I've removed the use of bytecode scripts, all tests are passing now for me on Debian s390x (which is big-endian like SPARC). Thanks for reporting.
make test failed in Fedora Rawhide
I could not reproduce the failing test on Fedora Rawhide, I've booted it's live image Fedora-Workstation-Live-x86_64-Rawhide-20210911.n.0.iso
and all tests passed for me, I will try to actually install and update it to see if can reproduce.
After installing Fedora Rawhide and updating it I am still unable to reproduce, all tests are passing, I guess is something with your setup, like could be the terminal or shell, provide more details on the shell/terminal/system.
Thanks.
At the same time tests passed in VoidLinux.