diff options
author | James McCoy <jamessan@jamessan.com> | 2024-01-05 14:07:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 14:07:34 -0500 |
commit | 52e6059415ba40b955267a9b447b5c57fc45b397 (patch) | |
tree | aefb608727f86bfa27fa678d99ad171afa4b84f6 /cmake | |
parent | 583c1de1750f7c9173f8404916360105a0020900 (diff) | |
download | rneovim-52e6059415ba40b955267a9b447b5c57fc45b397.tar.gz rneovim-52e6059415ba40b955267a9b447b5c57fc45b397.tar.bz2 rneovim-52e6059415ba40b955267a9b447b5c57fc45b397.zip |
fix(test): call separate_arguments() correctly to honor $BUSTED_ARGS (#26905)
separate_arguments() doesn't operate in place on a variable. It expects
a string argument to parse and stores the results in the specified
variable.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/RunTests.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake index fdf47263a1..6f93f73bc0 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -32,8 +32,7 @@ if(IS_ABSOLUTE ${TEST_PATH}) file(RELATIVE_PATH TEST_PATH "${WORKING_DIR}" "${TEST_PATH}") endif() -set(BUSTED_ARGS $ENV{BUSTED_ARGS}) -separate_arguments(BUSTED_ARGS) +separate_arguments(BUSTED_ARGS NATIVE_COMMAND $ENV{BUSTED_ARGS}) if(DEFINED ENV{TEST_TAG} AND NOT "$ENV{TEST_TAG}" STREQUAL "") list(APPEND BUSTED_ARGS --tags $ENV{TEST_TAG}) |