build: align makefile targets with test-targets

Align the makefile targets with the test-targets (`module` -> `mod`,
etc.). This way, we have consistent names everywhere.

While at it, move the `make test-run` invocation closer to the others.
This commit is contained in:
David Rheinsberg 2020-05-29 11:22:04 +02:00
parent d584a1e225
commit 55da864e0a
3 changed files with 14 additions and 14 deletions

View file

@ -132,7 +132,7 @@ $(SRCDIR)/test/data/manifests/fedora-boot.json: $(SRCDIR)/test/data/manifests/f3
test-data: $(TEST_MANIFESTS_GEN)
.PHONY: test-units
test-module:
test-mod:
@$(PYTHON3) -m unittest \
discover \
--start=$(SRCDIR)/test/mod \
@ -140,7 +140,7 @@ test-module:
-v
.PHONY: test-runtime
test-runtime:
test-run:
@[[ $${EUID} -eq 0 ]] || (echo "Error: Root privileges required!"; exit 1)
@$(PYTHON3) -m unittest \
discover \