From: Thomas Duval Date: Wed, 14 Mar 2018 09:55:49 +0000 (+0100) Subject: Add the ability to force the installation of specific moon libraries in dist directory. X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F53775%2F1;p=moon.git Add the ability to force the installation of specific moon libraries in dist directory. Change-Id: I430655b1ff80dcb8b13a66ae58802fc97e94cdd0 --- 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;