test: fix names of .PHONY targets

They need to have the same name as the target.
Took the opportunity to move the .PHONY right next to the target recipe,
so that mistakes like these are hopefully easier caught.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner 2023-07-20 16:32:09 +02:00 committed by Wolfgang Bumiller
parent a8e18f8560
commit 41275bae64

View File

@ -4,29 +4,35 @@ all:
export PERLLIB=..
.PHONY: check balloon-test replication-test mail-test vzdump-test
.PHONY: check
check: test-replication test-balloon test-mail test-vzdump test-osd
.PHONY: test-balloon
test-balloon:
./balloontest.pl
.PHONY: test-replication
test-replication: replication1.t replication2.t replication3.t replication4.t replication5.t replication6.t
replication%.t: replication_test%.pl
./$<
.PHONY: test-mail
test-mail:
./mail_test.pl
.PHONY: test-vzdump
test-vzdump: test-vzdump-guest-included test-vzdump-new
.PHONY: test-vzdump-guest-included test-vzdump-new
.PHONY: test-vzdump-guest-included
test-vzdump-guest-included:
./vzdump_guest_included_test.pl
.PHONY: test-vzdump-new
test-vzdump-new:
./vzdump_new_test.pl
.PHONY: test-osd
test-osd:
./OSD_test.pl