export PERLLIB=..
.PHONY: check
-check: replication_test balloon_test mail_test vzdump_test
+check: test-replication test-balloon test-vzdump-notification test-vzdump test-osd
-balloon_test:
+.PHONY: test-balloon
+test-balloon:
./balloontest.pl
-replication_test:
- ./replication_test1.pl
- ./replication_test2.pl
- ./replication_test3.pl
- ./replication_test4.pl
- ./replication_test5.pl
- ./replication_test6.pl
+.PHONY: test-replication
+test-replication: replication1.t replication2.t replication3.t replication4.t replication5.t replication6.t
-mail_test:
- ./mail_test.pl
+replication%.t: replication_test%.pl
+ ./$<
-vzdump_test:
+.PHONY: test-vzdump-notification
+test-vzdump-notification:
+ ./vzdump_notification_test.pl
+
+.PHONY: test-vzdump
+test-vzdump: test-vzdump-guest-included test-vzdump-new
+
+.PHONY: test-vzdump-guest-included
+test-vzdump-guest-included:
./vzdump_guest_included_test.pl
- ./vzdump_new_retention_test.pl
+
+.PHONY: test-vzdump-new
+test-vzdump-new:
+ ./vzdump_new_test.pl
+
+.PHONY: test-osd
+test-osd:
+ ./OSD_test.pl
.PHONY: install
install: