diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-18 13:01:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 13:01:38 -0500 |
commit | 2202400f15caaa375749a8974aaa922536d73a0c (patch) | |
tree | 01d97d36c6be6b53abfd18239615576b322b31e6 /cmake/RunTests.cmake | |
parent | eceb0b305e7358e411df7f0f2040e8ed702f631b (diff) | |
parent | 267ec67fabe94715853dab22593f6dde47ab3dd5 (diff) | |
download | rneovim-2202400f15caaa375749a8974aaa922536d73a0c.tar.gz rneovim-2202400f15caaa375749a8974aaa922536d73a0c.tar.bz2 rneovim-2202400f15caaa375749a8974aaa922536d73a0c.zip |
Merge pull request #16707 from jamessan/filter-out-tests
test: allow excluding functional/unti tests using TEST_FILTER_OUT
Diffstat (limited to 'cmake/RunTests.cmake')
-rw-r--r-- | cmake/RunTests.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake index e78392562f..3adbcbbfc5 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -46,6 +46,10 @@ if(DEFINED ENV{TEST_FILTER} AND NOT "$ENV{TEST_FILTER}" STREQUAL "") list(APPEND BUSTED_ARGS --filter $ENV{TEST_FILTER}) endif() +if(DEFINED ENV{TEST_FILTER_OUT} AND NOT "$ENV{TEST_FILTER_OUT}" STREQUAL "") + list(APPEND BUSTED_ARGS --filter-out $ENV{TEST_FILTER_OUT}) +endif() + # TMPDIR: use relative test path (for parallel test runs / isolation). set(ENV{TMPDIR} "${BUILD_DIR}/Xtest_tmpdir/${TEST_PATH}") execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory $ENV{TMPDIR}) |