0e2b012d69
Change-Id: Ia54cbb4a86f563089f591b6a8ce374d133d48650
31 lines
632 B
Bash
Executable File
31 lines
632 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function usage {
|
|
echo "Usage: run_vitrage_tempest.sh [OPTIONS]"
|
|
echo "Run Vitrage Tempest tests"
|
|
echo ""
|
|
echo " -h, --help Print this usage message"
|
|
}
|
|
|
|
#case "$1" in
|
|
# -h|--help) usage; exit;;
|
|
# *) echo "Unknown command"; usage; exit;;
|
|
#esac
|
|
|
|
function run_tests {
|
|
|
|
find . -type f -name "*.pyc" -delete
|
|
|
|
echo "run env"
|
|
nosetests -vx vitrage_tempest_tests/tests/run_vitrage_env.py
|
|
sleep 10s
|
|
|
|
echo "run tests"
|
|
nosetests -vx vitrage_tempest_tests/tests/api/topology/*
|
|
sleep 5s
|
|
|
|
echo "stop env"
|
|
nosetests -vx vitrage_tempest_tests/tests/stop_vitrage_env.py
|
|
}
|
|
|
|
run_tests |