summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-11-28 03:48:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-28 03:48:20 (GMT)
commit398dfc1338eb2ccd98ae5513fe6ebeb019cf7bcd (patch)
tree626212c1ad69b4e5405682cc2fcc71c2b78c4606 /Tests/CMakeLib
parent7046a5219893436cbe19b6973ac13fb489199601 (diff)
parent59df85194e47ea330478410092ddb9c6fcb17163 (diff)
downloadCMake-398dfc1338eb2ccd98ae5513fe6ebeb019cf7bcd.zip
CMake-398dfc1338eb2ccd98ae5513fe6ebeb019cf7bcd.tar.gz
CMake-398dfc1338eb2ccd98ae5513fe6ebeb019cf7bcd.tar.bz2
Merge topic 'ctest-spec-file-version-test'
59df85194e CTest Resource Allocation: Add test for spec file with no version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4092
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 b981387..b69003d 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 0000000..6175b1a
--- /dev/null
+++ b/Tests/CMakeLib/testCTestResourceSpec_data/spec36.json
@@ -0,0 +1,4 @@
+{
+ "local": [
+ ]
+}