Pass testropts in to setup.py in run_tests.sh

Change-Id: Idba469fbd8c0488a308071de45e16eedcb1d6cc6
This commit is contained in:
Monty Taylor 2013-01-30 11:43:43 +11:00
parent 73ccbb484f
commit 96b72e482b
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ function run_tests {
# Just run the test suites in current environment
set +e
testrargs=`echo "$testrargs" | sed -e's/^\s*\(.*\)\s*$/\1/'`
TESTRTESTS="$TESTRTESTS --testr-args='$testrargs'"
TESTRTESTS="$TESTRTESTS --testr-args='$testropts $testrargs'"
echo "Running \`${wrapper} $TESTRTESTS\`"
bash -c "${wrapper} $TESTRTESTS"
RESULT=$?
@ -155,7 +155,7 @@ function run_pep8 {
}
TESTRTESTS="python setup.py testr $testropts"
TESTRTESTS="python setup.py testr"
if [ $never_venv -eq 0 ]
then