You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "tqchen (via GitHub)" <gi...@apache.org> on 2026/07/04 19:49:43 UTC
[PR] [CI] Batch Python unittest pytest targets into a single invocation [tvm]
tqchen opened a new pull request, #19941:
URL: https://github.com/apache/tvm/pull/19941
The Python unittest CI step previously looped over each collected test directory and invoked `run_pytest` once per directory. Splitting related tests across many pytest invocations fragments Jenkins failure reports.
This change collects the ordered test directory list into a `PYTEST_TARGETS` array first, then passes the full target set to a single `run_pytest` invocation. Target ordering, pytest flags (`--reruns=3`, `-n=1`), `PYTEST_ADDOPTS` environment setup, and per-test failure behavior are unchanged; the platform-minimal run remains a separate invocation with its own JUnit XML.
This keeps related failures within one pytest report for clearer CI output.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [CI] Batch Python unittest pytest targets into a single invocation [tvm]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #19941:
URL: https://github.com/apache/tvm/pull/19941
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org