[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: main.lua test failing for 5.4.2-rc1
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 30 Nov 2020 10:18:26 -0300
> I can reproduce on Ubuntu 20.04:
>
> gcc -v: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
>
> josh@joshuas3 at ~/Downloads/lua-5.4.2 $ src/lua lua-5.4.2-tests/main.lua
> testing stand-alone interpreter
> progname: src/lua
> Lua 5.4.2 Copyright (C) 1994-2020 Lua.org, PUC-Rio
> (temporary program file used in these tests: /tmp/lua_eoFfk5)
> testing warnings
> src/lua: lua-5.4.2-tests/main.lua:310: assertion failed!
> stack traceback:
> [C]: in function 'assert'
> lua-5.4.2-tests/main.lua:310: in main chunk
> [C]: in ?
See the note in the test page [1]:
The test suite is not a product; it is just a tool for our internal
use. It is available here by popular demand but we cannot give any
kind of support for it. You're on your own.
Moreover, main.lua is not part of the basic tests. For the complete
tests, there is an extra warning:
The complete test suite (that is, without the _U option) tries
to test every corner of the language, its libraries, and the C
API, even corners that are system dependent. Unlike Lua itself,
these tests do not aim at portability, small footprint, or easy of
use. Their main goal is to try to crash Lua. They are not intended
for general use. You are welcome to use them, but expect to get your
hands dirty.
In particular, I happen to use this same system, gcc version 9.3.0
(Ubuntu 9.3.0-17ubuntu1~20.04), and I cannot reproduce the issue.
If you can pinpoint anything more specific, please let us know.
[1] https://www.lua.org/tests/
-- Roberto