Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: run luacheck static analysis via CMake
This patch introduces a separate target to run luacheck against all Lua chunks within LuaJIT repository except those explicitly ignored in .luacheckrc. There is also a single additional change over the 'luajit' std defaults: to suppress all false positives related to <misc> namespace introduced in 5a61e1a ('misc: add C and Lua API for platform metrics'), this name is added to <read_globals> list. All Lua sources originally inherited from LuaJIT vanilla repository are ignored, to leave them coherent with the upstream. The new target is a dependency for the root <test> target. Resolves tarantool/tarantool#5470 Part of tarantool/tarantool#4862 Reviewed-by: Timur Safin <[email protected]> Reviewed-by: Sergey Kaplun <[email protected]> Signed-off-by: Igor Munkin <[email protected]>
- Loading branch information