aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/run_tests.sh
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2018-04-24 16:06:50 +0200
committerThomas Duval <thomas.duval@orange.com>2018-04-24 16:06:50 +0200
commitc975e6c2fcb7afadecf0371c30073791599c8c81 (patch)
tree90cc2089f997a24e856099a36393553af56057e8 /tests/functional/run_tests.sh
parenta27008222c621f9fae9166de1538d0bb05b67389 (diff)
Update the main script for functional tests.
Change-Id: I4042386c180297eb80ed1eb9d280016a7c11a087
Diffstat (limited to 'tests/functional/run_tests.sh')
-rwxr-xr-x[-rw-r--r--]tests/functional/run_tests.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/functional/run_tests.sh b/tests/functional/run_tests.sh
index c5cbabbb..d374d17f 100644..100755
--- a/tests/functional/run_tests.sh
+++ b/tests/functional/run_tests.sh
@@ -1,13 +1,17 @@
#!/usr/bin/env bash
-echo "starting Moon Functional Tests"
+MOON_HOME=${1:-.}
-COMPONENTS="moon_authz, moon_interface, moon_manager, moon_orchestrator, moon_wrapper"
+echo "Starting Moon Functional Tests on ${MOON_HOME}"
+
+cd ${MOON_HOME}
+
+COMPONENTS="moon_manager moon_wrapper"
for dir in ${COMPONENTS}; do
echo "Testing component ${dir}"
cd ${MOON_HOME}/${dir}
- docker run --rm --volume $(pwd):/data wukongsun/moon_forming:latest /bin/bash /root/switch.sh functest
+ bash ../tests/functional/run_tests_for_component.sh
done
# TODO: download tests results