diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-22 14:23:55 -0500 |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-11-25 11:08:27 -0500 |
commit | a64ba0235fbacfe58751c222997bdd74cf973359 (patch) | |
tree | d22567be61596c1b0aa44e82436217609b160c75 /Tests/CMakeLib | |
parent | f9f294f5faf980aa39721e4deb465b2e9dbbbd9a (diff) | |
download | cmake-a64ba0235fbacfe58751c222997bdd74cf973359.tar.gz |
CTest: Clarify that resource requirements can be split
Add a note to the documentation to clarify this, and add test cases
to ensure it.
Fixes: #19987
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/testCTestResourceGroups.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testCTestResourceGroups.cxx b/Tests/CMakeLib/testCTestResourceGroups.cxx index 5fd7d4ad86..c3532a68d7 100644 --- a/Tests/CMakeLib/testCTestResourceGroups.cxx +++ b/Tests/CMakeLib/testCTestResourceGroups.cxx @@ -74,6 +74,9 @@ static const std::vector<ExpectedParseResult> expectedResults{ { "1,threads:1,", true, { { { "threads", 1, 1 } }, } }, + { "threads:1,threads:1", true, { + { { "threads", 1, 1 }, { "threads", 1, 1 } }, + } }, { "threads:1;;threads:2", true, { { { "threads", 1, 1 } }, { { "threads", 2, 1 } }, |