From acb811aafc97d60cdcc71e0b9b2466fb00bfb097 Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Wed, 14 Mar 2018 10:55:49 +0100 Subject: Add the ability to force the installation of specific moon libraries in dist directory. Change-Id: I430655b1ff80dcb8b13a66ae58802fc97e94cdd0 --- moon_pythonunittest/run_tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit