From 6742b1aea508f260c528ed2166e3a2fadec790cf Mon Sep 17 00:00:00 2001 From: Nikola Dipanov Date: Sun, 9 Feb 2014 17:18:56 +0100 Subject: [PATCH] Fix run_tests.sh lockutils when run with -d Change I007bd39e4d9aad7539b4b7389eb5189b5d1f10e2 fixed how the test runner was called, but did not take into account that a different command line is used when -d flag is passed to the script. We fix that but accounting for the lockuitls change even when -d is passed. Change-Id: I7462b70a707fff281fabe9d9f20cbb7bf8d037ef --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 68cb63f9d87a..1fecc4c9b540 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -114,7 +114,7 @@ function run_tests { # provided. testrargs="discover ./nova/tests" fi - ${wrapper} python -m testtools.run $testropts $testrargs + ${wrapper} python -m nova.openstack.common.lockutils python -m testtools.run $testropts $testrargs # Short circuit because all of the testr and coverage stuff # below does not make sense when running testtools.run for