In perl.git, the branch nicholas/bisect has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1168ae6b18482599de7364532263fbd110946901?hp=75793019160f6ebc1431a18fbb781de7493c9018>

- Log -----------------------------------------------------------------
commit 1168ae6b18482599de7364532263fbd110946901
Author: Nicholas Clark <[email protected]>
Date:   Wed Aug 1 13:55:58 2012 +0200

    Add a 'none' target to bisect-runner.pl
    
    This runs the user's test case directly against a clean checkout.
    Using this gives a couple of features that a plain git bisect run can't
    offer - automatic start revision detection, and test case timeouts.
-----------------------------------------------------------------------

Summary of changes:
 Porting/bisect-runner.pl |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 6696681..721673b 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -6,7 +6,7 @@ use Pod::Usage;
 use Config;
 
 my @targets
-    = qw(config.sh config.h miniperl lib/Config.pm Fcntl perl test_prep);
+    = qw(none config.sh config.h miniperl lib/Config.pm Fcntl perl test_prep);
 
 my %options =
     (
@@ -221,6 +221,14 @@ this should be one of
 
 =item *
 
+I<none>
+
+Don't build anything - just run the user test case against a clean checkout.
+Using this gives a couple of features that a plain C<git bisect run> can't
+offer - automatic start revision detection, and test case L<--timeout>.
+
+=item *
+
 I<config.sh>
 
 Just run F<./Configure>
@@ -1111,6 +1119,9 @@ system_or_die('git clean -dxf');
 if (!defined $target) {
     match_and_exit(undef, @ARGV) if $match;
     $target = 'test_prep';
+} elsif ($target eq 'none') {
+    match_and_exit(undef, @ARGV) if $match;
+    run_report_and_exit(@ARGV);
 }
 
 skip('no Configure - is this the //depot/perlext/Compiler branch?')

--
Perl5 Master Repository

Reply via email to