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:
parent
e9e1271900
commit
6d4f6aa220
@ -108,7 +108,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 ./glance/tests"
|
testrargs="discover ./tests"
|
||||||
fi
|
fi
|
||||||
${wrapper} python -m testtools.run $testropts $testrargs
|
${wrapper} python -m testtools.run $testropts $testrargs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user