diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2019-08-07 11:18:15 -0400 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2019-08-08 16:21:51 -0400 |
commit | 7f144950f14cd2d3a42888420fa99079e66f402f (patch) | |
tree | 63c5e708cfbc261dbb6ad0601f15e985e65bd365 | |
parent | 6b410aabc0e0cb740fd24e9a4478882aefea7220 (diff) | |
download | couchdb-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |