| Index: pkg/polymer/lib/elements/web-animations-js/run-tests.sh
|
| diff --git a/pkg/polymer/lib/elements/web-animations-js/run-tests.sh b/pkg/polymer/lib/elements/web-animations-js/run-tests.sh
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..92709dcc2c9c7c158b61b94f1ed5267741ab36b7
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/elements/web-animations-js/run-tests.sh
|
| @@ -0,0 +1,15 @@
|
| +#! /bin/bash
|
| +
|
| +# Update git submodules
|
| +git submodule init
|
| +git submodule update
|
| +
|
| +# If already in a VIRTUAL_ENV assume the person knows what they are doing,
|
| +# otherwise set up a python virtualenv with all the needed requirements.
|
| +if [ x$VIRTUAL_ENV == x"" ]; then
|
| + cd tools/python
|
| + source setup.sh
|
| + cd ../..
|
| +fi
|
| +
|
| +exec python tools/python/run-tests.py "$@"
|
|
|