From bf7c49158c360690f79b31b5a65f0bb42e3fccb4 Mon Sep 17 00:00:00 2001 From: Frédéric Mangano-Tarumi Date: Sat, 29 Feb 2020 01:02:04 +0100 Subject: test/Makefile: Run tests with prove when available Signed-off-by: Lukas Fleischer --- test/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index d310c8f5..758befa3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,13 @@ T = $(sort $(wildcard *.t)) +PROVE := $(shell command -v prove 2> /dev/null) + +ifdef PROVE +check: + prove . +else check: $(T) +endif clean: $(RM) -r test-results/ -- cgit v1.2.3-24-g4f1b