From: Bjorn Munch Date: April 15 2011 8:37am Subject: bzr commit into mysql-5.5-mtr branch (bjorn.munch:3198) List-Archive: http://lists.mysql.com/commits/135492 Message-Id: <201104150837.p3F8brpp005014@khepri15.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/bm136801/my/gcov-55/ based on revid:bjorn.munch@stripped 3198 Bjorn Munch 2011-04-15 [merge] upmerge 12351213,12360195 modified: mysql-test/lib/My/Find.pm mysql-test/mysql-test-run.pl === modified file 'mysql-test/lib/My/Find.pm' --- a/mysql-test/lib/My/Find.pm 2011-02-24 14:11:05 +0000 +++ b/mysql-test/lib/My/Find.pm 2011-04-15 08:37:20 +0000 @@ -1,5 +1,5 @@ # -*- cperl -*- -# Copyright (C) 2008 MySQL AB +# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -156,8 +156,7 @@ sub my_find_paths { # User can select to look in a special build dir # which is a subdirectory of any of the paths my @extra_dirs; - my $build_dir= $::opt_config_dir || $ENV{MTR_VS_CONFIG} - || $ENV{MTR_BUILD_DIR}; + my $build_dir= $::opt_vs_config || $ENV{MTR_VS_CONFIG} || $ENV{MTR_BUILD_DIR}; push(@extra_dirs, $build_dir) if defined $build_dir; if (defined $extension){ === modified file 'mysql-test/mysql-test-run.pl' --- a/mysql-test/mysql-test-run.pl 2011-04-14 12:25:15 +0000 +++ b/mysql-test/mysql-test-run.pl 2011-04-15 08:37:20 +0000 @@ -1198,7 +1198,7 @@ sub command_line_setup { chomp; # remove comments (# foo) at the beginning of the line, or after a # blank at the end of the line - s/( +|^)#.*$//; + s/(\s+|^)#.*$//; # If @ platform specifier given, use this entry only if it contains # @ or @! where xxx != platform if (/\@.*/) @@ -1209,8 +1209,8 @@ sub command_line_setup { s/\@.*$//; } # remove whitespace - s/^ +//; - s/ +$//; + s/^\s+//; + s/\s+$//; # if nothing left, don't need to remember this line if ( $_ eq "" ) { next; No bundle (reason: revision is a merge).