Add environment instructions to development.md

pull/1439/head
Daniel Ellis 2022-09-28 15:11:38 -04:00
parent 0b46462528
commit e193e4b9be
1 changed files with 9 additions and 0 deletions

View File

@ -322,6 +322,9 @@ Torch-MLIR has two types of tests:
## Running execution (end-to-end) tests:
> **Note**
> An `.env` file must be generated via `build_tools/write_env_file.sh` before these commands can be run.
```shell
# Run all tests on the reference backend
./tools/e2e_test.sh
@ -331,6 +334,12 @@ Torch-MLIR has two types of tests:
./tools/e2e_test.sh --config tosa
```
Alternatively, you can run the tests via Python directly:
```shell
python -m e2e_testing.main -f 'AtenEmbeddingBag'
```
## Running unit tests.
To run all of the unit tests, run: