mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
build: do not build test fixtures by default (#11230)
- tty-test is also used on Windows - FUNCTIONALTEST_PREREQS: add printenv-test
This commit is contained in:
parent
4bbad54817
commit
84aa86afb7
@ -562,10 +562,7 @@ if(BUSTED_PRG)
|
||||
endif()
|
||||
|
||||
set(UNITTEST_PREREQS nvim-test unittest-headers)
|
||||
set(FUNCTIONALTEST_PREREQS nvim printargs-test shell-test streams-test ${GENERATED_HELP_TAGS})
|
||||
if(NOT WIN32)
|
||||
list(APPEND FUNCTIONALTEST_PREREQS tty-test)
|
||||
endif()
|
||||
set(FUNCTIONALTEST_PREREQS nvim printenv-test printargs-test shell-test streams-test tty-test ${GENERATED_HELP_TAGS})
|
||||
set(BENCHMARK_PREREQS nvim tty-test)
|
||||
|
||||
# Useful for automated build systems, if they want to manually run the tests.
|
||||
|
@ -1,12 +1,12 @@
|
||||
add_executable(tty-test tty-test.c)
|
||||
add_executable(tty-test EXCLUDE_FROM_ALL tty-test.c)
|
||||
target_link_libraries(tty-test ${LIBUV_LIBRARIES})
|
||||
|
||||
add_executable(shell-test shell-test.c)
|
||||
add_executable(printargs-test printargs-test.c)
|
||||
add_executable(printenv-test printenv-test.c)
|
||||
add_executable(shell-test EXCLUDE_FROM_ALL shell-test.c)
|
||||
add_executable(printargs-test EXCLUDE_FROM_ALL printargs-test.c)
|
||||
add_executable(printenv-test EXCLUDE_FROM_ALL printenv-test.c)
|
||||
if(WIN32)
|
||||
set_target_properties(printenv-test PROPERTIES LINK_FLAGS -municode)
|
||||
endif()
|
||||
|
||||
add_executable(streams-test streams-test.c)
|
||||
add_executable(streams-test EXCLUDE_FROM_ALL streams-test.c)
|
||||
target_link_libraries(streams-test ${LIBUV_LIBRARIES})
|
||||
|
Loading…
Reference in New Issue
Block a user