actboy168 / bee.lua

Lua runtime and toolset
MIT License
160 stars 30 forks source link

some tests are failing #12

Closed lblasc closed 3 years ago

lblasc commented 3 years ago

When trying to compile latest: https://github.com/sumneko/lua-language-server bee.lua is failing with:

[58/58] build/linux/bin/bootstrap test/test.lua.obj
FAILED: build/linux/_/test
build/linux/bin/bootstrap test/test.lua
OS:             Linux
Arch:           64
Compiler:       GCC 10.2.0
CRT:            libstdc++ 20200723
DEBUG:          false
.......................................................................................F
Failed tests:
-------------
1) filewatch.test_2
test/test_filewatch.lua:90: expected: nil, actual: <userdata:/build/source/3rd/luamake/3rd/bee.lua/temp/test1>
stack traceback:
        test/test_filewatch.lua:90: in local 'assertHas'
        test/test_filewatch.lua:92: in local 'f'
        test/test_filewatch.lua:46: in upvalue 'test'
        test/test_filewatch.lua:59: in upvalue 'filewatch.test_2'

Ran 88 tests in 0.284 seconds, 87 successes, 1 failures
ninja: build stopped: subcommand failed.
FAILED: build/linux/_/bee
cd 3rd/bee.lua && ninja -f ninja/linux.ninja
ninja: build stopped: subcommand failed.
actboy168 commented 3 years ago

I can't reproduce it. As far as I know, lua-language-server does not use filewatch, you can ignore this test.

lblasc commented 3 years ago

with latest lua-language-server problem is gone