Menu

run_tests.pl

Help
2008-10-18
2013-03-15
  • Nobody/Anonymous

    Hi, run_tests.pl from the 1.50 cvs repository gives the following perl error:

            Use of uninitialized value in substitution (s///) at run_tests.pl line 68.

    I changed line 68 as follows to get it to work:

            if( $ARGV[0] =~ s/\bm(?:ake)?pp$/makepp/ ) {
    -->
            if( defined $ARGV[0] && $ARGV[0] =~ s/\bm(?:ake)?pp$/makepp/ ) {

    I think this is required because of the way make is running the script:

            cd t && PERL=/usr/bin/perl5.8.8 /usr/bin/perl5.8.8 run_tests.pl

     
    • Daniel Pfeiffer

      Daniel Pfeiffer - 2008-10-19

      Gosh thanks!  This only happens when running just the standard test, but I always run them all...  I'm currently extending this script and will include your fix.

       

Log in to post a comment.