mirror of
https://github.com/openai/codex-security.git
synced 2026-11-24 03:45:49 +08:00
8 lines
296 B
Python
8 lines
296 B
Python
from xml.etree import ElementTree
|
|
|
|
report = ElementTree.parse("reports/python.xml")
|
|
if report.find(".//testcase") is None:
|
|
raise SystemExit("No native platform tests ran")
|
|
if report.find(".//testcase/skipped") is not None:
|
|
raise SystemExit("Native platform tests must run without skips")
|