diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2016-10-17 23:11:24 +0300 |
---|---|---|
committer | Peter Eckersley <pde@users.noreply.github.com> | 2016-10-17 23:11:24 +0300 |
commit | 91deb6ec531958f39d5a076c20ae7740f61ac68d (patch) | |
tree | bde3ae4ab534ebc0cdee474aef94cffdf66d046f /tests | |
parent | 82ac89b850e77481028c1e055cda6cd01501f3a4 (diff) |
Add test_tests.sh (#3633)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/letstest/scripts/test_tests.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/letstest/scripts/test_tests.sh b/tests/letstest/scripts/test_tests.sh new file mode 100755 index 000000000..10cad2549 --- /dev/null +++ b/tests/letstest/scripts/test_tests.sh @@ -0,0 +1,17 @@ +#!/bin/sh -xe + +MODULES="acme certbot certbot_apache certbot_nginx" +VENV_NAME=venv + +# *-auto respects VENV_PATH +VENV_PATH=$VENV_NAME letsencrypt/certbot-auto --debug --non-interactive --version +. $VENV_NAME/bin/activate + +# change to an empty directory to ensure CWD doesn't affect tests +cd $(mktemp -d) +pip install nose + +for module in $MODULES ; do + echo testing $module + nosetests -v $module +done |