aboutsummaryrefslogtreecommitdiff
path: root/cmake/RunTestsLint.cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-06 01:13:39 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-06 01:13:39 -0400
commit4682b21ef2a85949dc781410997c169a169402cb (patch)
treead2fb4b2775cd07150f74c383c8344dfffc4c314 /cmake/RunTestsLint.cmake
parent86eb339120d630aa5a4ab977d875b8acc701593c (diff)
parent360d0513d1ba2d6e2b8948daad5bb56f11db7070 (diff)
downloadrneovim-4682b21ef2a85949dc781410997c169a169402cb.tar.gz
rneovim-4682b21ef2a85949dc781410997c169a169402cb.tar.bz2
rneovim-4682b21ef2a85949dc781410997c169a169402cb.zip
Merge pull request #4654 from KillTheMule/testlint
Satisfy testlint.
Diffstat (limited to 'cmake/RunTestsLint.cmake')
-rw-r--r--cmake/RunTestsLint.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/RunTestsLint.cmake b/cmake/RunTestsLint.cmake
index cf5465803e..addc9ab35e 100644
--- a/cmake/RunTestsLint.cmake
+++ b/cmake/RunTestsLint.cmake
@@ -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