summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2019-08-07 11:18:15 -0400
committerAdam Kocoloski <kocolosk@apache.org>2019-08-08 16:21:51 -0400
commit7f144950f14cd2d3a42888420fa99079e66f402f (patch)
tree63c5e708cfbc261dbb6ad0601f15e985e65bd365
parent6b410aabc0e0cb740fd24e9a4478882aefea7220 (diff)
downloadcouchdb-7f144950f14cd2d3a42888420fa99079e66f402f.tar.gz
Avoid shebang length limits on jenkins
The `pip3` and `nosetest` executables are scripts, and on jenkins the specified interpreter can exceed the 128 character length limit because of the deeply-nested workspace. Invoking these as modules seems the preferred workaround per pypa/pip#1773
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f5d15d47b..8f85ab8de 100644
--- a/Makefile
+++ b/Makefile
@@ -370,8 +370,8 @@ build-test:
mango-test: devclean all
@cd src/mango && \
python3 -m venv .venv && \
- .venv/bin/pip3 install -r requirements.txt
- @cd src/mango && ../../dev/run -n 1 --admin=testuser:testpass .venv/bin/nosetests
+ .venv/bin/python3 -m pip install -r requirements.txt
+ @cd src/mango && ../../dev/run -n 1 --admin=testuser:testpass '.venv/bin/python3 -m nose'
################################################################################
# Developing