Skip to content

Commit 3e122df

Browse files
committed
Fix install failing if test domain used but no TEST_REQUIREMENTS defined.
1 parent 849182f commit 3e122df

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 1.1.0 (unreleased)
44

5+
- Fix install failing if test domain used but no `TEST_REQUIREMENTS` defined.
6+
57
- Feature: Add target `zope-adduser` to create an emergency user.
68

79
## 1.0 (2025-02-11)

src/mxmake/topics/qa/test.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
TEST_TARGET:=$(SENTINEL_FOLDER)/test.sentinel
2929
$(TEST_TARGET): $(MXENV_TARGET)
3030
@echo "Install $(TEST_REQUIREMENTS)"
31-
@$(PYTHON_PACKAGE_COMMAND) install $(TEST_REQUIREMENTS)
31+
@test -z "$(TEST_REQUIREMENTS)" || $(PYTHON_PACKAGE_COMMAND) install $(TEST_REQUIREMENTS)
3232
@touch $(TEST_TARGET)
3333

3434
.PHONY: test

0 commit comments

Comments
 (0)