summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlanCoding <arominge@redhat.com>2018-04-16 15:49:45 +0200
committerAlanCoding <arominge@redhat.com>2018-04-16 16:32:51 +0200
commit5eaffb352077b63569d274313626e907cb909c9d (patch)
treee07af5c084afd778e20d371f5f3e302cdb866073 /Makefile
parentMerge pull request #1286 from AlanCoding/remove_user_roles (diff)
downloadawx-5eaffb352077b63569d274313626e907cb909c9d.tar.xz
awx-5eaffb352077b63569d274313626e907cb909c9d.zip
run ansible tests separately
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e3dd2ecad8..67136029d2 100644
--- a/Makefile
+++ b/Makefile
@@ -369,12 +369,14 @@ check: flake8 pep8 # pyflakes pylint
TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/sso/tests
# Run all API unit tests.
-test: test_ansible
+test:
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi; \
py.test $(TEST_DIRS)
+test_combined: test_ansible test
+
test_unit:
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \