Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pod/perlhack.pod
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,14 @@ file it is up to you to delete the file manually and then let the
harness recreate it, although the file format does not change frequently
so this should not be necessary very often.

=head2 Running only specific tests

Running only specific tests of the core distribution can be done with

HARNESS_RE=PATTERN make test_harness

Which will result in only the test files matching PATTERN to be run.

=head2 Running tests by hand

You can run part of the test suite by hand by using one of the
Expand Down
4 changes: 4 additions & 0 deletions t/harness
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ while ($ARGV[0] && $ARGV[0]=~/^-?-(n?)re/) {
}
}

if ($ENV{HARNESS_RE}) {
push @re, $ENV{HARNESS_RE};
}

my $jobs = $ENV{TEST_JOBS};
my ($rules, $state, $color);

Expand Down