8000 Improve testing of the externally provided Lua/LuaJIT · Issue #55 · ligurio/luzer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Improve testing of the externally provided Lua/LuaJIT #55
Open
@Buristan

Description

@Buristan

libluzer may be built using a custom version of LuaJIT (for example, https://github.com/tarantool/luajit). For this it is necessary to provide LUA_LIBRARIES, LUA_INCLUDE_DIR and LUA_EXECUTABLE (for tests).
For now, tests are not run with this configuration with various errors:

libluajit.so.2: cannot open shared object file: No such file or directory

Since there is no corresponding entry in LD_PRELOAD for the test.

Also, for ASAN tests added in the scope of #38 I observe the following errors:

luzer_luac_asan
Your application is linked against incompatible ASan runtimes.
...
luzer_luac_ubsan
ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD

The LuaJIT from the Tarantool's fork was built with the following command:

cmake -DLUA_USE_APICHECK=ON -DLUA_USE_ASSERT=ON -DLUAJIT_USE_SYSMALLOC=ON -DLUAJIT_USE_ASAN=ON -DLUAJIT_ENABLE_GC64=ON . && make -j

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0