aboutsummaryrefslogtreecommitdiffstats
path: root/moon_forming/switch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'moon_forming/switch.sh')
-rw-r--r--moon_forming/switch.sh19
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