Updated run_tests.sh to run tests in debug mode

Start directory was not configured property in run_tests.sh which raises
error while running entire test suit using debug mode.

Updated "testrargs" value from "discover ./glance/tests" to
"discover ./tests" as default starting point to run all tests
if specific test is not provided.

Closes-Bug: 1383117
Change-Id: Ie26d6ec02c92e9ac03dd7c35d313ea377715322f
This commit is contained in:
ankitagrawal 2014-10-20 00:52:51 -07:00
parent e9e1271900
commit 6d4f6aa220

View File

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