mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
cmake: define check-unit always (#1896)
Fixes https://github.com/awesomeWM/awesome/issues/1891.
This commit is contained in:
parent
1cdd7ef869
commit
09bffcd432
1 changed files with 4 additions and 0 deletions
|
@ -426,6 +426,10 @@ if(BUSTED_EXECUTABLE)
|
|||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Running unit tests under LuaCov"
|
||||
VERBATIM)
|
||||
else()
|
||||
add_custom_target(check-unit true
|
||||
COMMENT "Skipping check-unit, since busted was not found"
|
||||
VERBATIM)
|
||||
endif()
|
||||
a_find_program(LUACHECK_EXECUTABLE luacheck FALSE)
|
||||
if(LUACHECK_EXECUTABLE)
|
||||
|
|
Loading…
Reference in a new issue