aboutsummaryrefslogtreecommitdiffstats
path: root/moon_pythonunittest/run_tests.sh
diff options
context:
space:
mode:
authorRHE <rebirthmonkey@gmail.com>2017-12-26 13:35:54 +0100
committerRHE <rebirthmonkey@gmail.com>2017-12-26 13:35:54 +0100
commit454e9c5f8664ea99ccea2417b6cc3ffb238cf834 (patch)
tree479a6d0fcee5ba6c17ea12370125e6681594128a /moon_pythonunittest/run_tests.sh
parent19a69441bbcc8b5e9e334f81c66d0f3720405fdd (diff)
moon v4 re-organization
Change-Id: I73665f739f35ae18175f98d0739567e403c1fa80 Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'moon_pythonunittest/run_tests.sh')
-rw-r--r--moon_pythonunittest/run_tests.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/moon_pythonunittest/run_tests.sh b/moon_pythonunittest/run_tests.sh
new file mode 100644
index 00000000..6c586f87
--- /dev/null
+++ b/moon_pythonunittest/run_tests.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+cd /data
+pip3 install -r tests/unit_python/requirements.txt --upgrade
+pip3 install .
+
+if [ -f /data/tests/unit_python/run_tests.sh ];
+then
+ bash /data/tests/unit_python/run_tests.sh;
+fi
+
+cd /data/tests/unit_python
+pytest .