Skip to content

Commit

Permalink
Sync iree_tests config file with upstream.
Browse files Browse the repository at this point in the history
Also simplify the GPU config, since it is just a reference file.
  • Loading branch information
ScottTodd committed Apr 2, 2024
1 parent 9464d50 commit 14ed49b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 885 deletions.
6 changes: 3 additions & 3 deletions iree_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Tests are run using the [pytest](https://docs.pytest.org/en/stable/) framework.
A [`conftest.py`](conftest.py) file collects test cases from subdirectories,
wrapping each directory matching the format described above to one test case
per test configuration. Test configurations are defined in JSON config files
like [`configs/config_cpu_llvm_sync.json`](./configs/config_cpu_llvm_sync.json).
like [`configs/config_onnx_cpu_llvm_sync.json`](./configs/config_onnx_cpu_llvm_sync.json).

### Common venv setup with deps

Expand Down Expand Up @@ -103,15 +103,15 @@ Run ONNX tests on CPU and print all errors:
```bash
$ pytest iree_tests/onnx -n auto \
--ignore-xfails \
--config-files ./iree_tests/configs/config_cpu_llvm_sync.json
--config-files ./iree_tests/configs/config_onnx_cpu_llvm_sync.json
```

Run ONNX compilation tests only and print all errors:

```bash
$ pytest iree_tests/onnx -n auto \
--ignore-xfails --skip-all-runs \
--config-files ./iree_tests/configs/config_cpu_llvm_sync.json
--config-files ./iree_tests/configs/config_onnx_cpu_llvm_sync.json
```

### Advanced pytest usage tips
Expand Down
Loading

0 comments on commit 14ed49b

Please sign in to comment.