From d00185b63cf430adc1edc49f70f72c507aaa11e2 Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Fri, 8 Sep 2023 07:43:51 -0500 Subject: [PATCH] Remove override-true-all-profile-* tests This is now covered by test_profile_to_xml_element --- cmake/SSGCommon.cmake | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake index 7a90358a1d3..00ea067dd70 100644 --- a/cmake/SSGCommon.cmake +++ b/cmake/SSGCommon.cmake @@ -543,25 +543,6 @@ macro(ssg_build_sds PRODUCT) ) endif() endif() - add_test( - NAME "verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-titles" - COMMAND "${XMLLINT_EXECUTABLE}" --xpath "//*[local-name()=\"Profile\"]/*[local-name()=\"title\"][not(@override=\"true\")]" "${CMAKE_BINARY_DIR}/ssg-${PRODUCT}-ds.xml" - ) - set_tests_properties("verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-titles" PROPERTIES LABELS quick) - add_test( - NAME "verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-descriptions" - COMMAND "${XMLLINT_EXECUTABLE}" --xpath "//*[local-name()=\"Profile\"]/*[local-name()=\"description\"][not(@override=\"true\")]" "${CMAKE_BINARY_DIR}/ssg-${PRODUCT}-ds.xml" - ) - set_tests_properties("verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-descriptions" PROPERTIES LABELS quick) - # Sets WILL_FAIL property for all '*-override-true-all-profile-*' tests to - # true as it is expected that XPath of a passing test will be empty (and - # non-zero exit code is returned in such case). - set_tests_properties( - "verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-titles" - "verify-ssg-${PRODUCT}-ds.xml-override-true-all-profile-descriptions" - PROPERTIES - WILL_FAIL true - ) add_test( NAME "verify-references-ssg-${PRODUCT}-ds.xml" COMMAND env "PYTHONPATH=$ENV{PYTHONPATH}" "${PYTHON_EXECUTABLE}" "${SSG_BUILD_SCRIPTS}/verify_references.py" --rules-with-invalid-checks --base-dir "${CMAKE_BINARY_DIR}" --ovaldefs-unused "${CMAKE_BINARY_DIR}/ssg-${PRODUCT}-ds.xml"