Skip to content

Commit

Permalink
Merge pull request Perl-Toolchain-Gang#72 from Perl-Toolchain-Gang/no…
Browse files Browse the repository at this point in the history
…-harness-switches

do not set default switches in Test::Harness; not even -w
  • Loading branch information
bingos committed Sep 21, 2013
2 parents 463df76 + 37c20b4 commit 1c1e923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ExtUtils/MM_Any.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2366,8 +2366,8 @@ Used on the t/*.t files.
sub test_via_harness {
my($self, $perl, $tests) = @_;

return qq{\t$perl "-MExtUtils::Command::MM" }.
qq{"-e" "test_harness(\$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
return qq{\t$perl "-MExtUtils::Command::MM" "-MTest::Harness" }.
qq{"-e" "undef *Test::Harness::Switches; test_harness(\$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
}

=head3 test_via_script
Expand Down

0 comments on commit 1c1e923

Please sign in to comment.