]> git.proxmox.com Git - pve-manager.git/commitdiff
test: fix names of .PHONY targets
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 20 Jul 2023 14:32:09 +0000 (16:32 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 24 Jul 2023 13:58:11 +0000 (15:58 +0200)
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>
test/Makefile

index 670a3611a01756eb9fc44f9cbe7ffa4fbd41cd68..cccdc1c93ac370cf4c5066ad84ceaa5148582395 100644 (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