-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options for bypassing xfails and runs from configs. (#123)
These let you use options from config files but ignore xfail and skip run settings to easily get logs with all test failures, like these: * [pytest_compile_only_2024_03_21.txt](https://gist.github.com/ScottTodd/ecc9c57c01bfc5e996a15cdd38df6a9c) * [pytest_all_failures_2024_03_21.txt](https://gist.github.com/ScottTodd/1a02531cc76a3b8566428207e39d1870) Both of those are using `IREE compiler version 20240321.838 @ 5f2743baaa79160a3883854e60e5188822dceeb1` (This was previously possible by editing the config .json file, but now it's easier) So minimal repro instructions for latest nightly IREE ONNX test suite failures: ``` git clone https://github.com/nod-ai/SHARK-TestSuite.git cd SHARK-TestSuite python -m venv .venv source .venv/bin/activate python -m pip install -r iree_tests/requirements.txt python -m pip install --find-links https://iree.dev/pip-release-links.html iree-compiler iree-runtime --upgrade pytest iree_tests/onnx -n auto --ignore-xfails --config-files ./iree_tests/configs/config_cpu_llvm_sync.json ``` See the README for other common scenarios (like using a source build of IREE)
- Loading branch information
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters