summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
authorankitagrawal <ankit11.agrawal@nttdata.com>2014-10-20 00:52:51 -0700
committerankitagrawal <ankit11.agrawal@nttdata.com>2014-10-20 23:57:02 -0700
commit6d4f6aa220691051e84f6d2f89f4104bfbf40158 (patch)
tree2b1fbd4f233acfa85ab70d761fbd40d2df75d226 /run_tests.sh
parente9e127190011f6c2daaccfdb97b2e034b88f2680 (diff)
downloadglance_store-6d4f6aa220691051e84f6d2f89f4104bfbf40158.tar.gz
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
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh
index d6678bd..6506df0 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -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