From 94b440e7f5e6f496a32f6e18752b971ac3120753 Mon Sep 17 00:00:00 2001 From: James Laska Date: Mon, 19 Sep 2016 10:54:39 -0400 Subject: [PATCH] Allow unittests from containers to work Don't `sudo` for me, I'll `sudo` when I need it, yo. This appears to only affect the non-container based development workflow. For folks that still need to `make develop` outside of a container, please use `sudo make develop` --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c1b7d582e1..23d03407d7 100644 --- a/Makefile +++ b/Makefile @@ -317,8 +317,8 @@ develop: pip uninstall -y awx; \ $(PYTHON) setup.py develop; \ else \ - sudo pip uninstall -y awx; \ - sudo $(PYTHON) setup.py develop; \ + pip uninstall -y awx; \ + $(PYTHON) setup.py develop; \ fi version_file: @@ -448,7 +448,7 @@ pylint: reports check: flake8 pep8 # pyflakes pylint -TEST_DIRS=awx/main/tests +TEST_DIRS ?= awx/main/tests # Run all API unit tests. test: @if [ "$(VENV_BASE)" ]; then \