summaryrefslogtreecommitdiffstats
path: root/test/ansible_test/Makefile
blob: 2d85e3da76c95c3571bf3ce4ca8d420fdb54701b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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/_util/controller/sanity/validate-modules):$(abspath ${CURDIR}/../../lib) pytest validate-modules-unit ${FLAGS}