Add the ability to force the installation of specific moon libraries in dist directory. 75/53775/1
authorThomas Duval <thomas.duval@orange.com>
Wed, 14 Mar 2018 09:55:49 +0000 (10:55 +0100)
committerThomas Duval <thomas.duval@orange.com>
Wed, 14 Mar 2018 09:55:49 +0000 (10:55 +0100)
Change-Id: I430655b1ff80dcb8b13a66ae58802fc97e94cdd0

moon_pythonunittest/run_tests.sh

index 688166f..285bd85 100644 (file)
@@ -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;