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
ca611ed6
Commit
ca611ed6
authored
Oct 08, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move list of mysqls src dirs into lib/mtr_gcov.pl as it's only used from there
parent
8a84753a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
mysql-test/lib/mtr_gcov.pl
mysql-test/lib/mtr_gcov.pl
+17
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+0
-16
No files found.
mysql-test/lib/mtr_gcov.pl
View file @
ca611ed6
...
@@ -23,12 +23,28 @@ sub gcov_prepare () {
...
@@ -23,12 +23,28 @@ sub gcov_prepare () {
-or -name
\
*.da | xargs rm
`;
-or -name
\
*.da | xargs rm
`;
}
}
# Used by gcov
our
@mysqld_src_dirs
=
(
"
strings
",
"
mysys
",
"
include
",
"
extra
",
"
regex
",
"
isam
",
"
merge
",
"
myisam
",
"
myisammrg
",
"
heap
",
"
sql
",
);
sub
gcov_collect
()
{
sub
gcov_collect
()
{
print
"
Collecting source coverage info...
\n
";
print
"
Collecting source coverage info...
\n
";
-
f
$::opt_gcov_msg
and
unlink
(
$::opt_gcov_msg
);
-
f
$::opt_gcov_msg
and
unlink
(
$::opt_gcov_msg
);
-
f
$::opt_gcov_err
and
unlink
(
$::opt_gcov_err
);
-
f
$::opt_gcov_err
and
unlink
(
$::opt_gcov_err
);
foreach
my
$d
(
@
::
mysqld_src_dirs
)
foreach
my
$d
(
@mysqld_src_dirs
)
{
{
chdir
("
$::glob_basedir/
$d
");
chdir
("
$::glob_basedir/
$d
");
foreach
my
$f
(
(
glob
("
*.h
"),
glob
("
*.cc
"),
glob
("
*.c
"))
)
foreach
my
$f
(
(
glob
("
*.h
"),
glob
("
*.cc
"),
glob
("
*.c
"))
)
...
...
mysql-test/mysql-test-run.pl
View file @
ca611ed6
...
@@ -87,22 +87,6 @@ require "lib/mtr_stress.pl";
...
@@ -87,22 +87,6 @@ require "lib/mtr_stress.pl";
$
Devel::Trace::
TRACE
=
1
;
$
Devel::Trace::
TRACE
=
1
;
# Used by gcov
our
@mysqld_src_dirs
=
(
"
strings
",
"
mysys
",
"
include
",
"
extra
",
"
regex
",
"
isam
",
"
merge
",
"
myisam
",
"
myisammrg
",
"
heap
",
"
sql
",
);
##############################################################################
##############################################################################
#
#
# Default settings
# Default settings
...
...
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