Skip to content

Commit

Permalink
Merge pull request #762 from briang/blead-uses-test-harness
Browse files Browse the repository at this point in the history
make `perlbrew install blead`use test_harness
  • Loading branch information
gugod committed Oct 16, 2022
2 parents 1f72d9c + c1dd477 commit 4be5604
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1646,12 +1646,11 @@ INSTALL
# automatic parallel testing via $HARNESS_OPTIONS. The
# "test_harness" target was added in 5.7.3, which was the last
# development release before 5.8.0.
my $test_target = "test";
if ( $dist_version =~ /^5\.(\d+)\.(\d+)/
&& ( $1 >= 8 || $1 == 7 && $2 == 3 ) )
{
$test_target = "test_harness";
}
my $use_harness = ( $dist_version =~ /^5\.(\d+)\.(\d+)/
&& ( $1 >= 8 || $1 == 7 && $2 == 3 ) )
|| $dist_version eq "blead";
my $test_target = $use_harness ? "test_harness" : "test";
local $ENV{TEST_JOBS} = $self->{j}
if $test_target eq "test_harness" && ( $self->{j} || 1 ) > 1;
Expand Down

0 comments on commit 4be5604

Please sign in to comment.