From fd3625826b822f145181420b7b56a927b53d8c58 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Tue, 7 May 2024 15:26:16 +0200 Subject: First work done for plugin model (stats only) --- Makefile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 80ad0b1a..8f8f5607 100644 --- a/Makefile +++ b/Makefile @@ -62,27 +62,26 @@ venv-dev-upgrade: ## Upgrade Python 3 dev dependencies # Tests # =================================================================== -test: ## Run unit tests +test-core: ## Run core unit tests ./venv/bin/python ./unittest-core.py + +test-restful: ## Run Restful unit tests ./venv/bin/python ./unittest-restful.py + +test-xmlrpc: ## Run XMLRPC unit tests ./venv/bin/python ./unittest-xmlrpc.py + +test: test-core test-restful test-xmlrpc ## Run unit tests ./venv-dev/bin/python -m black ./glances --check --exclude outputs/static -test-with-upgrade: venv-upgrade venv-dev-upgrade ## Upgrade deps and run unit tests - ./venv/bin/python ./unittest-core.py - ./venv/bin/python ./unittest-restful.py - ./venv/bin/python ./unittest-xmlrpc.py - ./venv/bin-dev/python -m black ./glances --check --exclude outputs/static +test-with-upgrade: venv-upgrade venv-dev-upgrade test ## Upgrade deps and run unit tests -test-min: ## Run unit tests in minimal environment +test-min: ## Run core unit tests in minimal environment ./venv-min/bin/python ./unittest-core.py test-min-with-upgrade: venv-min-upgrade ## Upgrade deps and run unit tests in minimal environment ./venv-min/bin/python ./unittest-core.py -test-restful-api: ## Run unit tests of the RESTful API - ./venv/bin/python ./unittest-restful.py - # =================================================================== # Linters, profilers and cyber security # =================================================================== -- cgit v1.2.3