Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove override-true-all-profile-* tests #11077

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions cmake/SSGCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading