Skip to content

Commit 993cc8c

Browse files
liguriorosik
authored andcommitted
cmake: convert luacheck test to custom target
Basically it is not actually a test and to make it align with running luatest and luacov I converted it to a custom target too.
1 parent b103f97 commit 993cc8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ include_directories(${TARANTOOL_INCLUDE_DIRS})
1616
enable_testing()
1717

1818
find_package(LuaCheck)
19-
add_test(
20-
NAME luacheck
21-
COMMAND ${LUACHECK} .
19+
add_custom_target(luacheck
20+
COMMAND ${LUACHECK} ${PROJECT_SOURCE_DIR}
2221
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
2322
)
2423

0 commit comments

Comments
 (0)