[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Testing Lua
- From: "Gabor Szabo" <szabgab@...>
- Date: Thu, 27 Sep 2007 18:59:40 +0200
On 9/27/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > Thanks for the link for the test, I tried to run them but got an
> > "assertion failed!"
>
> Did you follow the instruction in README? I used
>
> env LUA_PATH="./?.lua;;" LUA_INIT="package.path = '?;'..package.path" ../lua-5.1.2/src/lua all.lua
yes, this is the output using the lua 5.1.1 installation that came
with Ubuntu 7.04
but I get the same error with 5.1.2 I just compiled from source code.
Gabor
current path:
?
./?.lua
./?.lua
/usr/local/share/lua/5.1/?.lua
/usr/local/share/lua/5.1/?/init.lua
/usr/local/lib/lua/5.1/?.lua
/usr/local/lib/lua/5.1/?/init.lua
/usr/share/lua/5.1/?.lua
/usr/share/lua/5.1/?/init.lua
---- total memory: 26 ----
testing lua.c options
"lua"
Lua 5.1.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio
'6
10
10
' - '= (6*2-6) -- ===
6
a
= 10
print(a)
10
= a
10
'
lua: main.lua:31: assertion failed!
stack traceback:
[C]: in function 'assert'
main.lua:31: in function 'checkout'
main.lua:99: in main chunk
(tail call): ?
all.lua:69: in main chunk
[C]: ?