From 607adca39e2dabab6851e750f9116f3e5dcd5b69 Mon Sep 17 00:00:00 2001 From: Christian Walde Date: Sun, 4 Oct 2020 23:23:57 +0200 Subject: [PATCH] allow makefile.pl to progress if forks are disabled in environment --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 3612fd9ee..fe09b5fe5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,7 @@ use ExtUtils::MakeMaker; use Config qw/%Config/; die "OS unsupported\nTest2-Harness currently only works on systems that support true forking.\n" - unless $Config{d_fork}; + unless $Config{d_fork} or $ENV{T2_NO_FORK}; if ($ENV{AUTOMATED_TESTING}) { my $is_njh = 0; $is_njh ||= -d '/export/home/njh';