aboutsummaryrefslogtreecommitdiff
path: root/python/pyarmnn/README.md
diff options
context:
space:
mode:
authorPavel Macenauer <pavel.macenauer@linaro.org>2020-04-15 13:28:29 +0000
committerNina Drozd <nina.drozd@arm.com>2020-05-05 16:44:13 +0000
commit5e123f8eeca810507b3de80643ccca19ff954d68 (patch)
treeb85b4dea49297d54e2e61ec4bd68b4f030f37a94 /python/pyarmnn/README.md
parentb6390dd58a860e8e05947e9108da9e45098ddb0e (diff)
downloadarmnn-5e123f8eeca810507b3de80643ccca19ff954d68.tar.gz
Move PyArmNN test resources to external storage
Change-Id: Ie2c94c8c58ed2964017bc049676ff32dc54c4ad0 Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
Diffstat (limited to 'python/pyarmnn/README.md')
-rw-r--r--python/pyarmnn/README.md15
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