Skip to content

Commit

Permalink
Pass extra arguments to run-tests down to ./manage.py test invocations
Browse files Browse the repository at this point in the history
This is particularly useful so that you can do:

    ./run-tests --keepdb

... to speed up running your tests locally.
  • Loading branch information
mhl committed Dec 6, 2016
1 parent c1b8e6e commit bf04291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-tests
Expand Up @@ -22,8 +22,8 @@ TEST_SETTINGS_MODULES=(
for TEST_SETTINGS_MODULE in "${TEST_SETTINGS_MODULES[@]}"
do
COMMAND="./manage.py test --settings=$TEST_SETTINGS_MODULE"
echo Running: $COMMAND
$COMMAND
echo Running: $COMMAND "$@"
$COMMAND "$@"
update_exit_code
done

Expand Down

0 comments on commit bf04291

Please sign in to comment.