summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 019a76d29..e05aeeaff 100644
--- a/Makefile
+++ b/Makefile
@@ -281,10 +281,9 @@ build-test:
# target: mango-test - Run Mango tests
mango-test: devclean all
@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
+ python3 -m venv venv && \
+ venv/bin/pip3 install -r requirements.txt
+ @cd src/mango && ../../dev/run -n 1 --admin=testuser:testpass venv/bin/nosetests
################################################################################
# Developing