Przeglądaj źródła

CTest Resource Allocation: Add test for spec file with no version

Kyle Edwards 6 lat temu
rodzic
commit
59df85194e

+ 1 - 0
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 */
 };

+ 4 - 0
Tests/CMakeLib/testCTestResourceSpec_data/spec36.json

@@ -0,0 +1,4 @@
+{
+  "local": [
+  ]
+}