From: Thomas Lamprecht Date: Sat, 23 Nov 2019 11:14:19 +0000 (+0100) Subject: tests: allow to make tests in parallel X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=510f865b5c9c9e0bbc6542acea1f38f886db7bf0 tests: allow to make tests in parallel Signed-off-by: Thomas Lamprecht --- diff --git a/test/Makefile b/test/Makefile index b6fe6e0..4467f5b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -4,12 +4,13 @@ all: .PHONY: check install clean distclean -check: +export PERLLIB=../src + +check: lock_file.test calendar_event_test.test convert_size_test.test for d in $(SUBDIRS); do $(MAKE) -C $$d check; done - ./lock_file.pl - ./calendar_event_test.pl - ./convert_size_test.pl -install: check +%.test: %.pl + ./$< + distclean: clean clean: