diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-03-14 10:55:49 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-03-14 10:55:49 +0100 |
commit | acb811aafc97d60cdcc71e0b9b2466fb00bfb097 (patch) | |
tree | 161db9df03a392628eacf31916edf14f9275f2d0 | |
parent | 1f31bc4df169195e3e7a9b6429d50785f73a51e7 (diff) |
Add the ability to force the installation of specific moon libraries in dist directory.
Change-Id: I430655b1ff80dcb8b13a66ae58802fc97e94cdd0
-rw-r--r-- | moon_pythonunittest/run_tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moon_pythonunittest/run_tests.sh b/moon_pythonunittest/run_tests.sh index 688166f0..285bd856 100644 --- a/moon_pythonunittest/run_tests.sh +++ b/moon_pythonunittest/run_tests.sh @@ -4,6 +4,12 @@ cd /data pip3 install -r tests/unit_python/requirements.txt --upgrade pip3 install . +if [ -d /data/dist ]; +then + pip install /data/dist/*.tar.gz --upgrade + pip install /data/dist/*.whl --upgrade +fi + if [ -f /data/tests/unit_python/run_tests.sh ]; then bash /data/tests/unit_python/run_tests.sh; |