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
30e00b0f
Commit
30e00b0f
authored
Mar 01, 2006
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Manual merge of the added "--comment=<string>" option
to both the Shell and the Perl vaerion of "mysql-test-run"-
parents
db1ecaa1
38a7f555
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+11
-0
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+8
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
30e00b0f
...
...
@@ -193,6 +193,7 @@ our $opt_big_test= 0; # Send --big-test to mysqltest
our
@opt_extra_mysqld_opt
;
our
$opt_comment
;
our
$opt_compress
;
our
$opt_ssl
;
our
$opt_skip_ssl
;
...
...
@@ -600,6 +601,7 @@ sub command_line_setup () {
# Misc
'
big-test
'
=>
\
$opt_big_test
,
'
comment=s
'
=>
\
$opt_comment
,
'
debug
'
=>
\
$opt_debug
,
'
fast
'
=>
\
$opt_fast
,
'
local
'
=>
\
$opt_local
,
...
...
@@ -633,6 +635,14 @@ sub command_line_setup () {
usage
("");
}
if
(
$opt_comment
)
{
print
"
\n
";
print
'
#
'
x
78
,
"
\n
";
print
"
#
$opt_comment
\n
";
print
'
#
'
x
78
,
"
\n\n
";
}
foreach
my
$arg
(
@ARGV
)
{
if
(
$arg
=~
/^--skip-/
)
...
...
@@ -2997,6 +3007,7 @@ Options for coverage, profiling etc
Misc options
comment=STR Write STR to the output
verbose Verbose output from this script
script-debug Debug this script itself
timer Show test case execution time
...
...
mysql-test/mysql-test-run.sh
View file @
30e00b0f
...
...
@@ -555,7 +555,14 @@ while test $# -gt 0; do
FAST_START
=
1
;;
--use-old-data
)
USE_OLD_DATA
=
1
;
USE_OLD_DATA
=
1
;;
--comment
=
*
)
TMP
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--comment=;;"
`
echo
echo
'############################################'
echo
"#
$TMP
"
echo
'############################################'
;;
--
)
shift
;
break
;;
--
*
)
$ECHO
"Unrecognized option:
$1
"
;
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