Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
34a312a7
Commit
34a312a7
authored
Apr 15, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge 12351213,12360195
parents
255986a5
c95227ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
mysql-test/lib/My/Find.pm
mysql-test/lib/My/Find.pm
+2
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-3
No files found.
mysql-test/lib/My/Find.pm
View file @
34a312a7
# -*- cperl -*-
# -*- 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
# 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
# it under the terms of the GNU General Public License as published by
...
@@ -156,8 +156,7 @@ sub my_find_paths {
...
@@ -156,8 +156,7 @@ sub my_find_paths {
# User can select to look in a special build dir
# User can select to look in a special build dir
# which is a subdirectory of any of the paths
# which is a subdirectory of any of the paths
my
@extra_dirs
;
my
@extra_dirs
;
my
$build_dir
=
$::opt_config_dir
||
$ENV
{
MTR_VS_CONFIG
}
my
$build_dir
=
$::opt_vs_config
||
$ENV
{
MTR_VS_CONFIG
}
||
$ENV
{
MTR_BUILD_DIR
};
||
$ENV
{
MTR_BUILD_DIR
};
push
(
@extra_dirs
,
$build_dir
)
if
defined
$build_dir
;
push
(
@extra_dirs
,
$build_dir
)
if
defined
$build_dir
;
if
(
defined
$extension
){
if
(
defined
$extension
){
...
...
mysql-test/mysql-test-run.pl
View file @
34a312a7
...
@@ -1198,7 +1198,7 @@ sub command_line_setup {
...
@@ -1198,7 +1198,7 @@ sub command_line_setup {
chomp
;
chomp
;
# remove comments (# foo) at the beginning of the line, or after a
# remove comments (# foo) at the beginning of the line, or after a
# blank at the end of the line
# blank at the end of the line
s/(
+|^)#.*$//
;
s/(
\s
+|^)#.*$//
;
# If @ platform specifier given, use this entry only if it contains
# If @ platform specifier given, use this entry only if it contains
# @<platform> or @!<xxx> where xxx != platform
# @<platform> or @!<xxx> where xxx != platform
if
(
/\@.*/
)
if
(
/\@.*/
)
...
@@ -1209,8 +1209,8 @@ sub command_line_setup {
...
@@ -1209,8 +1209,8 @@ sub command_line_setup {
s/\@.*$//
;
s/\@.*$//
;
}
}
# remove whitespace
# remove whitespace
s/^
+//
;
s/^
\s+//
;
s/
+$//
;
s/
\s
+$//
;
# if nothing left, don't need to remember this line
# if nothing left, don't need to remember this line
if
(
$_
eq
""
)
{
if
(
$_
eq
""
)
{
next
;
next
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment