From 69e1dd75bc897a67f077a52bdda6b0e40fbb8592 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sat, 13 Feb 2016 20:25:04 +0200 Subject: [PATCH] Convert test to prove instead of runprove. runprove/Test::Run is an unnecessary dep. --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0851467f..9c9e3bff 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,14 @@ mo: cp -f locale/pl/LC_MESSAGES/pysol.mo locale/pl_PL/LC_MESSAGES/pysol.mo cp -f locale/it/LC_MESSAGES/pysol.mo locale/it_IT/LC_MESSAGES/pysol.mo -test: +pretest: @rm -f tests/individually-importing/*.py # To avoid stray files python scripts/gen_individual_importing_tests.py - runprove tests/style/*.t tests/board_gen/*.py tests/individually-importing/*.py + +TEST_FILES = tests/style/*.t tests/board_gen/*.py tests/individually-importing/*.py + +test: pretest + prove $(TEST_FILES) + +runtest: pretest + runprove $(TEST_FILES)