summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-12 10:41:26 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-06-12 10:41:40 (GMT)
commita70fe8ec829f5efeee9806c460f39c9d55c637ec (patch)
tree7129faf85885319047a10c882cafc6b86fa1c888 /Source
parentbebb2abb4b8e622df08e69dd6ff31117bd5209e8 (diff)
parent1df3287bf6a49d410b81be670218259afc3474d4 (diff)
downloadCMake-a70fe8ec829f5efeee9806c460f39c9d55c637ec.zip
CMake-a70fe8ec829f5efeee9806c460f39c9d55c637ec.tar.gz
CMake-a70fe8ec829f5efeee9806c460f39c9d55c637ec.tar.bz2
Merge topic 'add_test-empty-args' into release-3.27
1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTestGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx
index c4a2bc2..ca1226a 100644
--- a/Source/cmTestGenerator.cxx
+++ b/Source/cmTestGenerator.cxx
@@ -152,7 +152,8 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os,
this->EvaluateCommandLineArguments(this->Test->GetCommand(), ge, config),
// Expand arguments if COMMAND_EXPAND_LISTS is set
this->Test->GetCommandExpandLists() ? cmList::ExpandElements::Yes
- : cmList::ExpandElements::No
+ : cmList::ExpandElements::No,
+ cmList::EmptyElements::Yes
};
// Expanding lists on an empty command may have left it empty
if (argv.empty()) {