We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d308b7b commit 634c014Copy full SHA for 634c014
src/pytest_cpp/google.py
@@ -121,7 +121,10 @@ def _parse_xml(self, xml_filename):
121
failure_elements = test_case.findall("failure")
122
for failure_elem in failure_elements:
123
failures.append(failure_elem.text)
124
- skipped = test_case.attrib["status"] == "notrun"
+ skipped = (
125
+ test_case.attrib["status"] == "notrun"
126
+ or test_case.attrib.get("result", None) == "skipped"
127
+ )
128
result.append((test_suite_name + "." + test_name, failures, skipped))
129
130
return result
0 commit comments