summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlanCoding <arominge@redhat.com>2020-03-24 03:47:30 +0100
committerAlanCoding <arominge@redhat.com>2020-03-24 03:47:30 +0100
commit8ba43880149c30d55414aa026b08cc2ff06000d7 (patch)
treeca321d61e3b676dc79944ac75856b3d31862691b /Makefile
parentMove workflow test target (diff)
downloadawx-8ba43880149c30d55414aa026b08cc2ff06000d7.tar.xz
awx-8ba43880149c30d55414aa026b08cc2ff06000d7.zip
Rewrite tests to use the new modules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dbf278f30d..c804ff43bf 100644
--- a/Makefile
+++ b/Makefile
@@ -371,6 +371,7 @@ prepare_collection_venv:
$(VENV_BASE)/awx/bin/pip install --target=$(COLLECTION_VENV) git+https://github.com/ansible/tower-cli.git
COLLECTION_TEST_DIRS ?= awx_collection/test/awx
+COLLECTION_TEST_TARGET ?=
COLLECTION_PACKAGE ?= awx
COLLECTION_NAMESPACE ?= awx
COLLECTION_INSTALL = ~/.ansible/collections/ansible_collections/$(COLLECTION_NAMESPACE)/$(COLLECTION_PACKAGE)
@@ -405,7 +406,7 @@ test_collection_sanity: install_collection
cd $(COLLECTION_INSTALL) && ansible-test sanity
test_collection_integration: install_collection
- cd $(COLLECTION_INSTALL) && ansible-test integration
+ cd $(COLLECTION_INSTALL) && ansible-test integration $(COLLECTION_TEST_TARGET)
test_unit:
@if [ "$(VENV_BASE)" ]; then \