Satisfy testlint.

For that, make luatest ignore the preload.lua files.
This commit is contained in:
KillTheMule
2016-04-26 21:14:33 +02:00
parent e861af85f8
commit 360d0513d1
14 changed files with 66 additions and 61 deletions

View File

@@ -1,5 +1,7 @@
set(IGNORE_FILES "${TEST_DIR}/*/preload.lua")
execute_process(
COMMAND ${LUACHECK_PRG} -q ${TEST_DIR}
COMMAND ${LUACHECK_PRG} -q ${TEST_DIR} --exclude-files ${IGNORE_FILES}
WORKING_DIRECTORY ${TEST_DIR}
ERROR_VARIABLE err
RESULT_VARIABLE res