mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 04:17:01 +00:00
cmake/RunTests.cmake: fix TEST_TAG/TEST_FILTER [ci skip] #10371
Followup to f1f9a2f97.
The mentioned example there did not work after all, likely due to
changing quoting during PR review.
This commit is contained in:
committed by
Justin M. Keyes
parent
e9f1bdabb8
commit
39ba35b38d
@@ -30,11 +30,11 @@ set(BUSTED_ARGS $ENV{BUSTED_ARGS})
|
|||||||
separate_arguments(BUSTED_ARGS)
|
separate_arguments(BUSTED_ARGS)
|
||||||
|
|
||||||
if(DEFINED ENV{TEST_TAG} AND NOT "$ENV{TEST_TAG}" STREQUAL "")
|
if(DEFINED ENV{TEST_TAG} AND NOT "$ENV{TEST_TAG}" STREQUAL "")
|
||||||
list(APPEND BUSTED_ARGS --tags="$ENV{TEST_TAG}")
|
list(APPEND BUSTED_ARGS --tags $ENV{TEST_TAG})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEFINED ENV{TEST_FILTER} AND NOT "$ENV{TEST_FILTER}" STREQUAL "")
|
if(DEFINED ENV{TEST_FILTER} AND NOT "$ENV{TEST_FILTER}" STREQUAL "")
|
||||||
list(APPEND BUSTED_ARGS --filter="$ENV{TEST_FILTER}")
|
list(APPEND BUSTED_ARGS --filter $ENV{TEST_FILTER})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TMPDIR: use relative test path (for parallel test runs / isolation).
|
# TMPDIR: use relative test path (for parallel test runs / isolation).
|
||||||
|
|||||||
Reference in New Issue
Block a user