File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -o xtrace
3- set -o errexit
2+ set -eux
43
54APACHE=$( command -v apache2 || command -v /usr/lib/apache2/mpm-prefork/apache2) || true
65if [ -n " $APACHE " ]; then
1817
1918PYTHON_VERSION=$( ${PYTHON_BINARY} -c " import sys; sys.stdout.write('.'.join(str(val) for val in sys.version_info[:2]))" )
2019
21- # Ensure the C extensions are installed.
22- rm -rf .venv
23- ${PYTHON_BINARY} -m venv --system-site-packages .venv
20+ # Use the installed venv.
2421source .venv/bin/activate
2522pip install -U pip
2623python -m pip install -e .
@@ -49,5 +46,3 @@ python ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 -t 100 pa
4946python ${PROJECT_DIRECTORY} /test/mod_wsgi_test/test_client.py -n 25000 serial \
5047 http://localhost:8080/interpreter1${PROJECT_DIRECTORY} http://localhost:8080/interpreter2${PROJECT_DIRECTORY} || \
5148 (tail -n 100 error_log && exit 1)
52-
53- rm -rf .venv
You can’t perform that action at this time.
0 commit comments