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 1
1
#! /bin/bash
2
- set -o xtrace
3
- set -o errexit
2
+ set -eux
4
3
5
4
APACHE=$( command -v apache2 || command -v /usr/lib/apache2/mpm-prefork/apache2) || true
6
5
if [ -n " $APACHE " ]; then
18
17
19
18
PYTHON_VERSION=$( ${PYTHON_BINARY} -c " import sys; sys.stdout.write('.'.join(str(val) for val in sys.version_info[:2]))" )
20
19
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.
24
21
source .venv/bin/activate
25
22
pip install -U pip
26
23
python -m pip install -e .
@@ -49,5 +46,3 @@ python ${PROJECT_DIRECTORY}/test/mod_wsgi_test/test_client.py -n 25000 -t 100 pa
49
46
python ${PROJECT_DIRECTORY} /test/mod_wsgi_test/test_client.py -n 25000 serial \
50
47
http://localhost:8080/interpreter1${PROJECT_DIRECTORY} http://localhost:8080/interpreter2${PROJECT_DIRECTORY} || \
51
48
(tail -n 100 error_log && exit 1)
52
-
53
- rm -rf .venv
You can’t perform that action at this time.
0 commit comments