From 5e123f8eeca810507b3de80643ccca19ff954d68 Mon Sep 17 00:00:00 2001 From: Pavel Macenauer Date: Wed, 15 Apr 2020 13:28:29 +0000 Subject: Move PyArmNN test resources to external storage Change-Id: Ie2c94c8c58ed2964017bc049676ff32dc54c4ad0 Signed-off-by: Pavel Macenauer --- python/pyarmnn/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'python/pyarmnn/README.md') 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 -- cgit v1.2.1