aboutsummaryrefslogtreecommitdiffstats
path: root/moon_forming/switch.sh
blob: adb1ebe9be4a334c1f06f1ee7824668a93125f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>"