aboutsummaryrefslogtreecommitdiff
path: root/cmake/RunTestsLint.cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-06-27 02:29:15 +0200
committerGitHub <noreply@github.com>2017-06-27 02:29:15 +0200
commitf34befe74c5a7b18a802f6f3c79607cb2124004c (patch)
tree955fc4456e7710213f7339e95cd40464088c08ec /cmake/RunTestsLint.cmake
parent1ef2d768e71981e4429376a0cb25dbed14dfae52 (diff)
parentcab3a248b2704e8f188eaf20206f2c87d1a76c0d (diff)
downloadrneovim-f34befe74c5a7b18a802f6f3c79607cb2124004c.tar.gz
rneovim-f34befe74c5a7b18a802f6f3c79607cb2124004c.tar.bz2
rneovim-f34befe74c5a7b18a802f6f3c79607cb2124004c.zip
Merge #6789 from ZyX-I/lua-path
lua: Add paths from &runtimepath to package.path and package.cpath
Diffstat (limited to 'cmake/RunTestsLint.cmake')
-rw-r--r--cmake/RunTestsLint.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmake/RunTestsLint.cmake b/cmake/RunTestsLint.cmake
deleted file mode 100644
index addc9ab35e..0000000000
--- a/cmake/RunTestsLint.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
-set(IGNORE_FILES "${TEST_DIR}/*/preload.lua")
-
-execute_process(
- COMMAND ${LUACHECK_PRG} -q ${TEST_DIR} --exclude-files ${IGNORE_FILES}
- WORKING_DIRECTORY ${TEST_DIR}
- ERROR_VARIABLE err
- RESULT_VARIABLE res
- ${EXTRA_ARGS})
-
-if(NOT res EQUAL 0)
- message(STATUS "Output to stderr:\n${err}")
- message(FATAL_ERROR "Linting tests failed with error: ${res}.")
-endif()