user-engine/Makefile

36 lines
1 KiB
Makefile
Raw Normal View History

.PHONY: test test-unit test-scenarios test-integration test-conformance check-layer
PYTHON ?= python3
test: test-unit check-layer
2026-05-22 21:39:10 +02:00
test-unit:
PYTHONPATH=src $(PYTHON) -m unittest discover -s tests -p 'test_*.py'
2026-05-22 21:39:10 +02:00
test-scenarios: test-unit
test-integration: test-unit
test-conformance: test-unit check-layer
check-layer:
PYTHONPATH=src $(PYTHON) scripts/check_layer_conformance.py --report
.PHONY: test-journeys
# Optional JOURNEY_ARGS supports --role, --report and --require-complete.
test-journeys:
PYTHONPATH=src:tests $(PYTHON) scripts/run_journey_suites.py $(JOURNEY_ARGS)
.PHONY: test-browser-journeys
test-browser-journeys:
PYTHONDONTWRITEBYTECODE=1 $(PYTHON) scripts/browser_journeys.py
# CUST-WP-0079-T05: staged-source generation; hook uses the isolated recipe.
.PHONY: generated-work-records generated-work-records-check
generated-work-records:
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records
generated-work-records-check:
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records-check