diff options
Diffstat (limited to 'python/pyarmnn/README.md')
-rw-r--r-- | python/pyarmnn/README.md | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/python/pyarmnn/README.md b/python/pyarmnn/README.md index a8f7573826..25213bb26e 100644 --- a/python/pyarmnn/README.md +++ b/python/pyarmnn/README.md @@ -155,19 +155,24 @@ Before building package or running tests you need to generate SWIG wrappers base It can be done with tox target 'gen': ```bash -tox -e gen +$ tox -e gen ``` ## Running unit-tests -Execute command from the project root dir: +Download resources required to run unit tests by executing the script in the scripts folder: +``` +$ python ./scripts/download_test_resources.py +``` + +The script will download an archive from the Linaro server and extract it. A folder `test/testdata/shared` will be created. Execute `pytest` from the project root dir: ```bash -$ tox +$ python -m pytest test/ -v ``` -or +or run tox which will do both: ```bash -$ pytest -v +$ tox ``` ## Build python distr |