02c38ed4fd
* Relocate ansible-test self tests outside package. We don't want to include the tests for verifying ansible-test within the ansible-test package. * Add `test/ansible_test/` to classification.py. * Fix test invocation. * Relocate tests in MANIFEST.in. * Improve package-data sanity test error checking. * Only use includes for ansible-test in MANIFEST.in. * Improve readability of MANIFEST.in.
13 lines
421 B
Makefile
13 lines
421 B
Makefile
all: sanity unit validate-modules-unit
|
|
|
|
.PHONY: sanity
|
|
sanity:
|
|
$(abspath ${CURDIR}/../../bin/ansible-test) sanity test/lib/ ${FLAGS}
|
|
|
|
.PHONY: unit
|
|
unit:
|
|
PYTHONPATH=$(abspath ${CURDIR}/../lib) pytest unit ${FLAGS}
|
|
|
|
.PHONY: validate-modules-unit
|
|
validate-modules-unit:
|
|
PYTHONPATH=$(abspath ${CURDIR}/../lib/ansible_test/_data/sanity/validate-modules):$(abspath ${CURDIR}/../../lib) pytest validate-modules-unit ${FLAGS}
|