From 510f865b5c9c9e0bbc6542acea1f38f886db7bf0 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 23 Nov 2019 12:14:19 +0100 Subject: [PATCH] tests: allow to make tests in parallel Signed-off-by: Thomas Lamprecht --- test/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: -- 2.39.2