From 6d4f6aa220691051e84f6d2f89f4104bfbf40158 Mon Sep 17 00:00:00 2001 From: ankitagrawal Date: Mon, 20 Oct 2014 00:52:51 -0700 Subject: [PATCH] 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 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index d6678bdb..6506df0a 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