disable_fileapi_json_extra_test
authorDebian CMake Team <pkg-cmake-team@lists.alioth.debian.org>
Sun, 7 Feb 2021 09:23:34 +0000 (09:23 +0000)
committerFelix Geyer <fgeyer@debian.org>
Sun, 7 Feb 2021 09:23:34 +0000 (09:23 +0000)
Disable this specific test as it fails with libjsoncpp 1.7.4 (but works with 1.8.4).
This libjsoncpp version seems to accept this invalid json file.
While not ideal this doesn't seem critical and will be fixed once the new version
reaches Debian proper.

Gbp-Pq: Name disable_fileapi_json_extra_test.patch

Tests/RunCMake/FileAPI/ClientStateful-check.cmake
Tests/RunCMake/FileAPI/ClientStateful-check.py
Tests/RunCMake/FileAPI/ClientStateful-prep.cmake

index 1e9aab6d1da5b31a40080f66980ee7891bd01e0b..95ea72515774d090737aa8437665e8842bd0df98 100644 (file)
@@ -10,8 +10,6 @@ set(expect
   query/client-json-bad-root/query.json
   query/client-json-empty
   query/client-json-empty/query.json
-  query/client-json-extra
-  query/client-json-extra/query.json
   query/client-not-file
   query/client-not-file/query.json
   query/client-request-array-negative-major-version
index f3d20d13e40a137fd1d904039589e0cc943be239..7da5755fda52370bc1a29ee842d53dcaa6842afd 100644 (file)
@@ -8,7 +8,6 @@ def check_reply(q):
         "client-empty-object",
         "client-json-bad-root",
         "client-json-empty",
-        "client-json-extra",
         "client-not-file",
         "client-request-array-negative-major-version",
         "client-request-array-negative-minor-version",
@@ -39,7 +38,6 @@ def check_reply(q):
         (check_query_empty_object, "client-empty-object"),
         (check_query_json_bad_root, "client-json-bad-root"),
         (check_query_json_empty, "client-json-empty"),
-        (check_query_json_extra, "client-json-extra"),
         (check_query_not_file, "client-not-file"),
         (check_query_requests_bad, "client-requests-bad"),
         (check_query_requests_empty, "client-requests-empty"),
index 5b41d7afba4d10aec3206b60947c62c13c92e90d..21791d0d3d36db80c2f3af17d3a8d2dfdf8bf25c 100644 (file)
@@ -3,7 +3,6 @@ file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-empty-array/q
 file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-empty-object/query.json" "{}")
 file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-json-bad-root/query.json" [["invalid root"]])
 file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-json-empty/query.json" "")
-file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-json-extra/query.json" "{}x")
 file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-not-file/query.json")
 
 file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-requests-bad/query.json" [[{ "requests": {} }]])