Skip to content

Commit

Permalink
Fix run_tests.sh lockutils when run with -d
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djipko committed Feb 10, 2014
1 parent 2dec996 commit 6742b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6742b1a

Please sign in to comment.