Merge topic 'ctest-U-no-arg' into release-4.3

b150e8757c ctest: Restore handling of -U and --union with no value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12765
This commit is contained in:
Brad King committed 2026-11-04 08:47:04 -05:00
commit 4e2589cfd7
1 file changed
+2 -2
+2 -2
View File
@@ -2445,8 +2445,8 @@ int cmCTest::Run(std::vector<std::string> const& args)
CommandArgument{ "-I", CommandArgument::Values::One, dashI },
CommandArgument{ "--tests-information", CommandArgument::Values::One,
dashI },
CommandArgument{ "-U", CommandArgument::Values::One, dashU },
CommandArgument{ "--union", CommandArgument::Values::One, dashU },
CommandArgument{ "-U", CommandArgument::Values::Zero, dashU },
CommandArgument{ "--union", CommandArgument::Values::Zero, dashU },
CommandArgument{ "-R", CommandArgument::Values::One, dashR },
CommandArgument{ "--tests-regex", CommandArgument::Values::One, dashR },
CommandArgument{ "-E", CommandArgument::Values::One, dashE },