Skip to content

Commit c171d76

Browse files
committed
Refactorized the rules targetting test*
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
1 parent 658e318 commit c171d76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,23 +87,23 @@ venv-dev-upgrade: ## Upgrade Python 3 dev dependencies
8787
# ===================================================================
8888

8989
test-core: ## Run core unit tests
90-
./venv/bin/python ./unittest-core.py
90+
$(PYTHON) $(UNITTEST)-core.py
9191

9292
test-restful: ## Run Restful unit tests
93-
./venv/bin/python ./unittest-restful.py
93+
$(PYTHON) $(UNITTEST)-restful.py
9494

9595
test-xmlrpc: ## Run XMLRPC unit tests
96-
./venv/bin/python ./unittest-xmlrpc.py
96+
$(PYTHON) $(UNITTEST)-xmlrpc.py
9797

9898
test: test-core test-restful test-xmlrpc ## Run unit tests
9999

100100
test-with-upgrade: venv-upgrade venv-dev-upgrade test ## Upgrade deps and run unit tests
101101

102102
test-min: ## Run core unit tests in minimal environment
103-
./venv-min/bin/python ./unittest-core.py
103+
$(VENV_MIN)/python $(UNITTEST)-core.py
104104

105105
test-min-with-upgrade: venv-min-upgrade ## Upgrade deps and run unit tests in minimal environment
106-
./venv-min/bin/python ./unittest-core.py
106+
$(VENV_MIN)/python $(UNITTEST)-core.py
107107

108108
# ===================================================================
109109
# Linters, profilers and cyber security

0 commit comments

Comments
 (0)