diff --git a/test.sh b/test.sh index 5193faed0..f95136bc9 100755 --- a/test.sh +++ b/test.sh @@ -127,8 +127,6 @@ function build_letsencrypt() { run ./venv/bin/pip install -U pip run ./venv/bin/pip install -e acme -e . -e letsencrypt-apache -e letsencrypt-nginx - source ./venv/bin/activate - cd - } @@ -261,6 +259,8 @@ if [[ "$RUN" =~ "integration" ]] ; then build_letsencrypt fi + source ${LETSENCRYPT_PATH}/venv/bin/activate + python test/integration-test.py --all case $? in 0) # Success diff --git a/test/integration-test.py b/test/integration-test.py index ac810bd55..2fdaae7bb 100644 --- a/test/integration-test.py +++ b/test/integration-test.py @@ -208,8 +208,7 @@ def run_client_tests(): assert root is not None, ( "Please set LETSENCRYPT_PATH env variable to point at " "initialized (virtualenv) client repo root") - test_script_path = os.path.join(root, 'tests', 'boulder-integration.sh') - cmd = "SIMPLE_HTTP_PORT=5002 %s" % (test_script_path) + cmd = os.path.join(root, 'tests', 'boulder-integration.sh') if subprocess.Popen(cmd, shell=True, cwd=root, executable='/bin/bash').wait() != 0: die(ExitStatus.PythonFailure)