Unit tests
- portability to help flod
This commit is contained in:
@@ -10,6 +10,15 @@ set (test_SRCS autocomplete.t color.t config.t date.t directory.t dom.t
|
||||
duration.t file.t i18n.t json.t list.t nibbler.t path.t rx.t
|
||||
t.t t2.t taskmod.t tdb2.t text.t uri.t util.t view.t json_test)
|
||||
|
||||
message ("-- Configuring run_all")
|
||||
set (TESTBLOB "*.t")
|
||||
if (CYGWIN)
|
||||
set (TESTBLOB "*.t *.t.exe")
|
||||
endif (CYGWIN)
|
||||
configure_file (
|
||||
${CMAKE_SOURCE_DIR}/test/run_all.in
|
||||
${CMAKE_SOURCE_DIR}/test/run_all)
|
||||
|
||||
add_custom_target (test ./run_all --verbose
|
||||
DEPENDS ${test_SRCS} task_executable
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
|
||||
|
||||
Reference in New Issue
Block a user