From f90225afaef139a5e82b3083b7bdcb6abf0e7c1e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 4 Jun 2019 11:29:39 +0000 Subject: t: avoid "subtest" for Perl 5.10.1 compatibility The version of Test::More from Perl 5.10.1 did not support "subtest", and the earliest version which did is Perl 5.12.0 The good news is this gives me an excuse to parallelize the indexlevels-mirror test by splitting it into two. (it could be further split, even). Update t/nntpd. to use PI_TEST_VERSION consistently while we're at it. --- t/indexlevels-mirror-v1.t | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 t/indexlevels-mirror-v1.t (limited to 't/indexlevels-mirror-v1.t') diff --git a/t/indexlevels-mirror-v1.t b/t/indexlevels-mirror-v1.t new file mode 100644 index 00000000..9998a09a --- /dev/null +++ b/t/indexlevels-mirror-v1.t @@ -0,0 +1,4 @@ +# Copyright (C) 2019 all contributors +# License: AGPL-3.0+ +$ENV{PI_TEST_VERSION} = 1; +require './t/indexlevels-mirror.t'; -- cgit v1.2.3-24-ge0c7