123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #!/bin/bash -e
- if [ $# -ne 1 ] ; then
- echo "Usage: $(basename $0) <master name>"
- exit 1
- fi
- MASTER=$1
- # Put us in the same dir as the script.
- cd $(dirname $0)
- echo
- echo "Running lib_utils generate-and-run-tests.sh"
- echo "-------------------------------------------"
- ../../../lib_utils/src/test/generate-and-run-tests.sh
- echo
- echo "Running lib_openshift generate"
- echo "------------------------------"
- ../generate.py
- echo
- echo "Running lib_openshift Unit Tests"
- echo "----------------------------"
- cd unit
- for test in *.py; do
- echo
- echo "--------------------------------------------------------------------------------"
- echo
- echo "Running $test..."
- ./$test
- done
- echo
- echo "Running lib_openshift Integration Tests"
- echo "-----------------------------------"
- cd ../integration
- for test in *.yml; do
- echo
- echo "--------------------------------------------------------------------------------"
- echo
- echo "Running $test..."
- ./$test -vvv -e cli_master_test="$MASTER"
- done
|