Skip to content

Commit b001572

Browse files
committed
reverse-dependencies: Add tests for dependencies script
The test-find-package-dependents script has gotten a little on the large size with various options that permutate the results. This commit adds some tests to actually make sure all the features work.
1 parent cb5835e commit b001572

File tree

2 files changed

+1995
-0
lines changed

2 files changed

+1995
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
.PHONY: test-reverse-dependencies
2424
.PHONY: triage-issue
2525
.PHONY: backport-fix
26+
.PHONY:
27+
.PHONY: # Development and testing
28+
.PHONY: check check-find-package-dependents-script
2629

2730
## Defaults
2831
COMPOSE ?= podman compose
@@ -175,6 +178,11 @@ clean:
175178
$(COMPOSE) down
176179
podman volume prune -f
177180

181+
check: check-find-package-dependents-script
182+
183+
check-find-package-dependents-script:
184+
cd scripts && python tests/test-find-package-dependents.py
185+
178186
help:
179187
@echo "Available targets:"
180188
@echo " config - Copy config templates to .secrets/ and .env"
@@ -191,4 +199,5 @@ help:
191199
@echo " test-package - Submit package testing request to testing farm"
192200
@echo " test-reverse-dependencies - Test all reverse dependencies of a package"
193201
@echo " <recipe> - To run the recipes/<recipe>.yaml"
202+
@echo " check - Run all development tests"
194203
@echo " clean - Stop all services and clean volumes"

0 commit comments

Comments
 (0)