From 18dd914ac7c294b80f0abad85a1efa9a1983b404 Mon Sep 17 00:00:00 2001 From: phala Date: Tue, 25 Jun 2024 14:38:10 +0200 Subject: [PATCH] Add kuadranctl target --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3a9422b1..0c1df5df 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: commit-acceptance pylint mypy black reformat test performance authorino poetry poetry-no-dev mgc container-image polish-junit reportportal authorino-standalone limitador kuadrant kuadrant-only +.PHONY: commit-acceptance pylint mypy black reformat test performance authorino poetry poetry-no-dev mgc container-image polish-junit reportportal authorino-standalone limitador kuadrant kuadrant-only kuadrantctl TB ?= short LOGLEVEL ?= INFO @@ -45,7 +45,7 @@ test pytest tests: kuadrant authorino: ## Run only authorino related tests authorino: poetry-no-dev - $(PYTEST) -n4 -m 'authorino' --dist loadfile --enforce $(flags) testsuite + $(PYTEST) -n4 -m 'authorino' --dist loadfile --enforce $(flags) testsuite/tests/kuadrant authorino-standalone: ## Run only test capable of running with standalone Authorino authorino-standalone: poetry-no-dev @@ -53,20 +53,24 @@ authorino-standalone: poetry-no-dev limitador: ## Run only Limitador related tests limitador: poetry-no-dev - $(PYTEST) -n4 -m 'limitador' --dist loadfile --enforce $(flags) testsuite + $(PYTEST) -n4 -m 'limitador' --dist loadfile --enforce $(flags) testsuite/tests/kuadrant kuadrant: ## Run all tests available on Kuadrant kuadrant: poetry-no-dev - $(PYTEST) -n4 -m 'not standalone_only' --dist loadfile --enforce $(flags) testsuite + $(PYTEST) -n4 -m 'not standalone_only' --dist loadfile --enforce $(flags) testsuite/tests/kuadrant kuadrant-only: ## Run Kuadrant-only tests kuadrant-only: poetry-no-dev - $(PYTEST) -n4 -m 'kuadrant_only and not standalone_only' --dist loadfile --enforce $(flags) testsuite + $(PYTEST) -n4 -m 'kuadrant_only and not standalone_only' --dist loadfile --enforce $(flags) testsuite/tests/kuadrant dnstls: ## Run DNS and TLS tests dnstls: poetry-no-dev $(PYTEST) -n4 -m 'dnspolicy or tlspolicy' --dist loadfile --enforce $(flags) testsuite +kuadrantctl: ## Run Kuadrantctl tests +kuadrantctl: poetry-no-dev + $(PYTEST) -n4 --dist loadfile --enforce $(flags) testsuite/tests/kuadrantctl + performance: ## Run performance tests performance: poetry-no-dev $(PYTEST) --performance $(flags) testsuite/tests/kuadrant/authorino/performance