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
82b6712a
Commit
82b6712a
authored
Nov 10, 2006
by
tsmith@quadxeon.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51
parents
1c8a6cfc
abd8eeaa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
5 deletions
+65
-5
mysql-test/include/report-features.test
mysql-test/include/report-features.test
+11
-0
mysql-test/mysql-test-run-shell.sh
mysql-test/mysql-test-run-shell.sh
+5
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+49
-3
No files found.
mysql-test/include/report-features.test
0 → 100644
View file @
82b6712a
#
# show server variables
#
--
disable_query_log
--
echo
=====
ENGINES
=====
show
engines
;
--
echo
=====
VARIABLES
=====
show
variables
;
--
echo
=====
STOP
=====
--
enable_query_log
mysql-test/mysql-test-run-shell.sh
View file @
82b6712a
...
@@ -1815,8 +1815,11 @@ run_testcase ()
...
@@ -1815,8 +1815,11 @@ run_testcase ()
--result-file
=
*
)
--result-file
=
*
)
result_file
=
`
$ECHO
"
$EXTRA_MASTER_OPT
"
|
$SED
-e
"s;--result-file=;;"
`
result_file
=
`
$ECHO
"
$EXTRA_MASTER_OPT
"
|
$SED
-e
"s;--result-file=;;"
`
result_file
=
"r/
$result_file
.result"
result_file
=
"r/
$result_file
.result"
# Note that this must be set to space, not "" for test-reset to
# Note that this must be set to space, not "" for test-reset to work
# work
EXTRA_MASTER_OPT
=
" "
;;
--force-restart
)
# Note that this must be set to space, not "" for test-reset to work
EXTRA_MASTER_OPT
=
" "
EXTRA_MASTER_OPT
=
" "
;;
;;
esac
esac
...
...
mysql-test/mysql-test-run.pl
View file @
82b6712a
...
@@ -185,6 +185,7 @@ our $opt_fast;
...
@@ -185,6 +185,7 @@ our $opt_fast;
our
$opt_force
;
our
$opt_force
;
our
$opt_reorder
=
0
;
our
$opt_reorder
=
0
;
our
$opt_enable_disabled
;
our
$opt_enable_disabled
;
our
$opt_report_features
;
our
$opt_mem
=
$ENV
{'
MTR_MEM
'};
our
$opt_mem
=
$ENV
{'
MTR_MEM
'};
our
$opt_gcov
;
our
$opt_gcov
;
...
@@ -430,6 +431,10 @@ sub main () {
...
@@ -430,6 +431,10 @@ sub main () {
initialize_servers
();
initialize_servers
();
if
(
$opt_report_features
)
{
run_report_features
();
}
run_suite
(
$opt_suite
,
$tests
);
run_suite
(
$opt_suite
,
$tests
);
}
}
...
@@ -594,6 +599,7 @@ sub command_line_setup () {
...
@@ -594,6 +599,7 @@ sub command_line_setup () {
'
mem:s
'
=>
\
$opt_mem
,
'
mem:s
'
=>
\
$opt_mem
,
# Misc
# Misc
'
report-features
'
=>
\
$opt_report_features
,
'
comment=s
'
=>
\
$opt_comment
,
'
comment=s
'
=>
\
$opt_comment
,
'
debug
'
=>
\
$opt_debug
,
'
debug
'
=>
\
$opt_debug
,
'
fast
'
=>
\
$opt_fast
,
'
fast
'
=>
\
$opt_fast
,
...
@@ -4217,6 +4223,43 @@ sub run_check_testcase ($$) {
...
@@ -4217,6 +4223,43 @@ sub run_check_testcase ($$) {
return
$res
;
return
$res
;
}
}
##############################################################################
#
# Report the features that were compiled in
#
##############################################################################
sub
run_report_features
()
{
my
$args
;
if
(
!
$glob_use_embedded_server
)
{
mysqld_start
(
$master
->
[
0
],
[]
,
[]
);
if
(
!
$master
->
[
0
]
->
{'
pid
'}
)
{
mtr_error
("
Can't start the mysqld server
");
}
mysqld_wait_started
(
$master
->
[
0
]);
}
my
$tinfo
=
{};
$tinfo
->
{'
name
'}
=
'
report features
';
$tinfo
->
{'
result_file
'}
=
undef
;
$tinfo
->
{'
component_id
'}
=
'
mysqld
';
$tinfo
->
{'
path
'}
=
'
include/report-features.test
';
$tinfo
->
{'
timezone
'}
=
"
GMT-3
";
$tinfo
->
{'
slave_num
'}
=
0
;
$tinfo
->
{'
master_opt
'}
=
[]
;
$tinfo
->
{'
slave_opt
'}
=
[]
;
$tinfo
->
{'
slave_mi
'}
=
[]
;
$tinfo
->
{'
comment
'}
=
'
report server features
';
run_mysqltest
(
$tinfo
);
if
(
!
$glob_use_embedded_server
)
{
stop_all_servers
();
}
}
sub
run_mysqltest
($)
{
sub
run_mysqltest
($)
{
...
@@ -4354,8 +4397,10 @@ sub run_mysqltest ($) {
...
@@ -4354,8 +4397,10 @@ sub run_mysqltest ($) {
mtr_add_arg
(
$args
,
"
--test-file
");
mtr_add_arg
(
$args
,
"
--test-file
");
mtr_add_arg
(
$args
,
$tinfo
->
{'
path
'});
mtr_add_arg
(
$args
,
$tinfo
->
{'
path
'});
if
(
defined
$tinfo
->
{'
result_file
'}
)
{
mtr_add_arg
(
$args
,
"
--result-file
");
mtr_add_arg
(
$args
,
"
--result-file
");
mtr_add_arg
(
$args
,
$tinfo
->
{'
result_file
'});
mtr_add_arg
(
$args
,
$tinfo
->
{'
result_file
'});
}
if
(
$opt_record
)
if
(
$opt_record
)
{
{
...
@@ -4768,3 +4813,4 @@ HERE
...
@@ -4768,3 +4813,4 @@ HERE
mtr_exit
(
1
);
mtr_exit
(
1
);
}
}
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