Merge "Set the correct location for the tests."

This commit is contained in:
Jenkins
2013-05-31 22:16:44 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
[DEFAULT] [DEFAULT]
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./cinderclient/tests $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE test_id_option=--load-list $IDFILE
test_list_option=--list test_list_option=--list

View File

@@ -79,7 +79,7 @@ function run_tests {
if [ "$testropts" = "" ] && [ "$testrargs" = "" ]; then if [ "$testropts" = "" ] && [ "$testrargs" = "" ]; then
# Default to running all tests if specific test is not # Default to running all tests if specific test is not
# provided. # provided.
testrargs="discover ./tests" testrargs="discover ./cinderclient/tests"
fi fi
${wrapper} python -m testtools.run $testropts $testrargs ${wrapper} python -m testtools.run $testropts $testrargs