diff --git a/docs/development.md b/docs/development.md index d77f0ea7d..1811b8450 100644 --- a/docs/development.md +++ b/docs/development.md @@ -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: