diff options
| author | Brad King <brad.king@kitware.com> | 2023-06-12 10:41:26 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-12 10:41:41 (GMT) |
| commit | eec017cf8bc4fedcb8644026f3ddb3a1b1a58d83 (patch) | |
| tree | 67315baa53f3190c249aca9829c660185fb414e2 /Source/cmTestGenerator.cxx | |
| parent | 6bbbd01f7524ab04bea1486a043f313b1a0cf38c (diff) | |
| parent | 1df3287bf6a49d410b81be670218259afc3474d4 (diff) | |
| download | CMake-eec017cf8bc4fedcb8644026f3ddb3a1b1a58d83.zip CMake-eec017cf8bc4fedcb8644026f3ddb3a1b1a58d83.tar.gz CMake-eec017cf8bc4fedcb8644026f3ddb3a1b1a58d83.tar.bz2 | |
Merge topic 'add_test-empty-args'
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/cmTestGenerator.cxx')
| -rw-r--r-- | Source/cmTestGenerator.cxx | 3 |
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()) { |
