diff options
author | Sean Farley <sean@farley.io> | 2017-07-11 11:41:35 -0700 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-07-12 10:33:45 +0100 |
commit | 56d39031f52907eb62cd0562c5f46edf2caf35dd (patch) | |
tree | ffffb37f6c94fe0c866e192bd5bb8efc86d49bfd /tools | |
parent | 7ada8ccd1a89c274a6db68104f78f5d4aff4e943 (diff) | |
download | patchwork-56d39031f52907eb62cd0562c5f46edf2caf35dd.tar patchwork-56d39031f52907eb62cd0562c5f46edf2caf35dd.tar.gz |
docker: pass additional args to manage.py test
Signed-off-by: Sean Farley <sean@farley.io>
Reviewed-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/docker/entrypoint.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/docker/entrypoint.sh b/tools/docker/entrypoint.sh index 949d8af..2f413b0 100755 --- a/tools/docker/entrypoint.sh +++ b/tools/docker/entrypoint.sh @@ -84,10 +84,12 @@ if [ $# -eq 0 ]; then elif [ "$1" == "--shell" ]; then exec bash elif [ "$1" == "--quick-test" ]; then + shift export PW_SKIP_BROWSER_TESTS=yes - python3 manage.py test + python3 manage.py test $@ elif [ "$1" == "--test" ]; then - xvfb-run --server-args='-screen 0, 1024x768x16' python3 manage.py test + shift + xvfb-run --server-args='-screen 0, 1024x768x16' python3 manage.py test $@ elif [ "$1" == "--quick-tox" ]; then shift export PW_SKIP_BROWSER_TESTS=yes |