diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-01-22 15:51:03 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-01-24 09:55:31 +0100 |
commit | 72413a4640e458690cf65f445bc10f28886f4e8f (patch) | |
tree | b7e4ac1c181584f07e28b39e6aa24d3cf00822f5 /moon_forming/switch.sh | |
parent | 36fe604a69eaa4c36f309bd68e36d75c3850c5c4 (diff) |
Functional tests development
Change-Id: I641522d813f171a4eed0e6b39b2f25cc470c76d1
Diffstat (limited to 'moon_forming/switch.sh')
-rw-r--r-- | moon_forming/switch.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/moon_forming/switch.sh b/moon_forming/switch.sh new file mode 100644 index 00000000..adb1ebe9 --- /dev/null +++ b/moon_forming/switch.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +CMD=$1 + +echo "COMMAND IS ${CMD}" + +if [ "${CMD}" = "functest" ]; then + echo "FUNCTIONAL TESTS" + ls -l /data + ls -l /data/tests + sh /data/tests/functional_pod/run_functional_tests.sh +#elif [ $CMD == "unittest" ]; then +# sh /data/tests/functional_pod/run_functional_tests.sh +else + echo "CONFIGURATION" + bash config_moon.sh +fi + +echo "<END OF JOB>"
\ No newline at end of file |