diff options
| author | Nick Vatamaniuc <vatamane@apache.org> | 2018-10-03 15:11:57 -0400 |
|---|---|---|
| committer | Nick Vatamaniuc <vatamane@apache.org> | 2018-11-26 17:49:33 -0500 |
| commit | 9870a7c0aa1801bd30f19f8abfc3fbe8d45bae12 (patch) | |
| tree | 57d1e1557f0fe99aecec4bc86cfb97fc88e513f4 /Makefile | |
| parent | 2a3467d51415569e5f93c0cf4afbc5bbcd1ba17b (diff) | |
| download | couchdb-9870a7c0aa1801bd30f19f8abfc3fbe8d45bae12.tar.gz | |
Run mango tests with Python 3
Before we were ignoring venv setup in the Makefile, so update the test runner
to use that instead of pestering developers to install those dependencies by
hand.
Issue #1632
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -280,7 +280,11 @@ build-test: .PHONY: mango-test # target: mango-test - Run Mango tests mango-test: devclean all - @cd src/mango && ../../dev/run -n 1 --admin=testuser:testpass nosetests + @cd src/mango && \ + virtualenv --python=python3 venv && \ + . ./venv/bin/activate && \ + pip3 install -r requirements.txt + @cd src/mango && ../../dev/run -n 1 --admin=testuser:testpass ./venv/bin/nosetests ################################################################################ # Developing |
