mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
CMakeLists.txt: pass TEST_RUN_ARGS to tests/run.sh, default to -W
This commit is contained in:
parent
062f9d6a15
commit
f8d1e46eaa
1 changed files with 2 additions and 3 deletions
|
@ -395,11 +395,10 @@ add_executable(test-gravity tests/test-gravity.c)
|
|||
target_link_libraries(test-gravity
|
||||
${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})
|
||||
add_custom_target(check-integration
|
||||
sh -c "CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ${CMAKE_SOURCE_DIR}/tests/run.sh -W"
|
||||
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ./tests/run.sh \$\${TEST_RUN_ARGS:--W}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Running integration tests"
|
||||
USES_TERMINAL
|
||||
VERBATIM)
|
||||
USES_TERMINAL)
|
||||
add_dependencies(check-integration test-gravity)
|
||||
add_custom_target(check-themes
|
||||
${CMAKE_SOURCE_DIR}/tests/themes/run.sh
|
||||
|
|
Loading…
Reference in a new issue