summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-13 15:06:05 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-13 15:06:05 +0200
commitba09b5f8dde758b3d14d83ea5d891f68872b41b4 (patch)
tree012948e5c263fa7584082008de884461753a484d /mysql-test/mysql-test-run.pl
parent0a5bda1002d5f1c766f49160d7ea02b1b3666e6e (diff)
downloadmariadb-git-ba09b5f8dde758b3d14d83ea5d891f68872b41b4.tar.gz
Add option manual-ddd
Change syntax for starting manual ddd or gdb to avoid having to change working dir
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index a40c2f157d5..c494626bbae 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -570,6 +570,7 @@ sub command_line_setup () {
'manual-debug' => \$opt_manual_debug,
'ddd' => \$opt_ddd,
'client-ddd' => \$opt_client_ddd,
+ 'manual-ddd' => \$opt_manual_ddd,
'debugger=s' => \$opt_debugger,
'client-debugger=s' => \$opt_client_debugger,
'strace-client' => \$opt_strace_client,
@@ -4826,8 +4827,7 @@ sub gdb_arguments {
if ( $opt_manual_gdb )
{
print "\nTo start gdb for $type, type in another window:\n";
- print "cd $glob_mysql_test_dir;\n";
- print "gdb -x $gdb_init_file $$exe\n";
+ print "gdb -cd $glob_mysql_test_dir -x $gdb_init_file $$exe\n";
# Indicate the exe should not be started
$$exe= undef;
@@ -4891,8 +4891,7 @@ sub ddd_arguments {
if ( $opt_manual_ddd )
{
print "\nTo start ddd for $type, type in another window:\n";
- print "cd $glob_mysql_test_dir;\n";
- print "ddd -x $gdb_init_file $$exe\n";
+ print "ddd -cd $glob_mysql_test_dir -x $gdb_init_file $$exe\n";
# Indicate the exe should not be started
$$exe= undef;
@@ -5111,6 +5110,8 @@ Options for debugging the product
running test(s)
manual-gdb Let user manually start mysqld in gdb, before running
test(s)
+ manual-ddd Let user manually start mysqld in ddd, before running
+ test(s)
master-binary=PATH Specify the master "mysqld" to use
slave-binary=PATH Specify the slave "mysqld" to use
strace-client Create strace output for mysqltest client