summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2024-05-07 15:26:16 +0200
committernicolargo <nicolashennion@gmail.com>2024-05-07 15:26:16 +0200
commitfd3625826b822f145181420b7b56a927b53d8c58 (patch)
treef89f03e15c710883cfe98fea004a35db22fcfcc5 /Makefile
parentaf4765db8afc4e9242bb72e5b4bfb04f4cb37391 (diff)
First work done for plugin model (stats only)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 9 insertions, 10 deletions
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
# ===================================================================