Merge "make it possible to run only one test in tempest"
This commit is contained in:
11
run_tests.sh
11
run_tests.sh
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user