summaryrefslogtreecommitdiff
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-11-26 11:41:56 -0500
committerKyle Edwards <kyle.edwards@kitware.com>2019-11-26 11:41:56 -0500
commit59df85194e47ea330478410092ddb9c6fcb17163 (patch)
tree88a26256f7e7c400dbcad61a7485821869accf9d /Tests/CMakeLib
parent1b4482f65dd41f21ec8abc0777b8dc1f0381bbd6 (diff)
downloadcmake-59df85194e47ea330478410092ddb9c6fcb17163.tar.gz
CTest Resource Allocation: Add test for spec file with no version
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/testCTestResourceSpec.cxx1
-rw-r--r--Tests/CMakeLib/testCTestResourceSpec_data/spec36.json4
2 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testCTestResourceSpec.cxx b/Tests/CMakeLib/testCTestResourceSpec.cxx
index b981387567..b69003d5a0 100644
--- a/Tests/CMakeLib/testCTestResourceSpec.cxx
+++ b/Tests/CMakeLib/testCTestResourceSpec.cxx
@@ -56,6 +56,7 @@ static const std::vector<ExpectedSpec> expectedResourceSpecs = {
{"spec33.json", false, {{{}}}},
{"spec34.json", false, {{{}}}},
{"spec35.json", false, {{{}}}},
+ {"spec36.json", false, {{{}}}},
{"noexist.json", false, {{{}}}},
/* clang-format on */
};
diff --git a/Tests/CMakeLib/testCTestResourceSpec_data/spec36.json b/Tests/CMakeLib/testCTestResourceSpec_data/spec36.json
new file mode 100644
index 0000000000..6175b1a99d
--- /dev/null
+++ b/Tests/CMakeLib/testCTestResourceSpec_data/spec36.json
@@ -0,0 +1,4 @@
+{
+ "local": [
+ ]
+}