Merge "make it possible to run only one test in tempest"

This commit is contained in:
Jenkins
2012-11-19 16:51:37 +00:00
committed by Gerrit Code Review

View File

@@ -23,7 +23,7 @@ function process_option {
esac
}
noseargs="tempest"
noseargs=""
just_pep8=0
export NOSE_WITH_OPENSTACK=1
@@ -37,6 +37,15 @@ for arg in "$@"; do
process_option $arg
done
# only add tempest default if we don't specify a test
if [[ "x$noseargs" =~ "tempest" ]]; then
noseargs="$noseargs"
else
noseargs="$noseargs tempest"
fi
function run_tests {
$NOSETESTS
}