Add to documentation how to run tests locally (#4610)

* Add to documentation how to build native unit tests

* Add instructions to run Python tests and to use Docker container [skip ci]

* Fix link to pytest chapter

* Add link to Google Test [skip ci]

* Set PYTHONPATH [skip ci]

* Revise test_python.sh for running tests locally

* Update test_python.sh

* Place Docker recommendation notice in a prominent place [skip ci]
This commit is contained in:
Oleksandr Pryimak
2019-06-27 19:02:04 -07:00
committed by Philip Hyunsu Cho
parent 63ec95623d
commit 923e6c86ba
2 changed files with 141 additions and 21 deletions

View File

@@ -8,9 +8,12 @@ suite=$1
wheel_found=0
for file in python-package/dist/*.whl
do
pip install --user ${file}
wheel_found=1
break # need just one
if [ -e "${file}" ]
then
pip install --user "${file}"
wheel_found=1
break # need just one
fi
done
if [ "$wheel_found" -eq 0 ]
then