Commit 57a7d109 authored by unknown's avatar unknown

Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1

into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile


mysql-test/mysql-test-run.pl:
  Auto merged
parents 231d4165 f9628329
...@@ -344,7 +344,7 @@ sub mtr_kill_leftovers () { ...@@ -344,7 +344,7 @@ sub mtr_kill_leftovers () {
# We scan the "var/run/" directory for other process id's to kill # We scan the "var/run/" directory for other process id's to kill
# FIXME $path_run_dir or something # FIXME $path_run_dir or something
my $rundir= "$::glob_mysql_test_dir/var/run"; my $rundir= "$::opt_vardir/run";
if ( -d $rundir ) if ( -d $rundir )
{ {
......
...@@ -89,9 +89,10 @@ sub mtr_report_test_passed ($) { ...@@ -89,9 +89,10 @@ sub mtr_report_test_passed ($) {
my $tinfo= shift; my $tinfo= shift;
my $timer= ""; my $timer= "";
if ( $::opt_timer and -f "$::glob_mysql_test_dir/var/log/timer" ) if ( $::opt_timer and -f "$::opt_vardir/log/timer" )
{ {
$timer= mtr_fromfile("$::glob_mysql_test_dir/var/log/timer"); $timer= mtr_fromfile("$::opt_vardir/log/timer");
$::glob_tot_real_time += $timer;
$timer= sprintf "%12s", $timer; $timer= sprintf "%12s", $timer;
} }
$tinfo->{'result'}= 'MTR_RES_PASSED'; $tinfo->{'result'}= 'MTR_RES_PASSED';
...@@ -177,8 +178,8 @@ sub mtr_report_stats ($) { ...@@ -177,8 +178,8 @@ sub mtr_report_stats ($) {
# Report if there was any fatal warnings/errors in the log files # Report if there was any fatal warnings/errors in the log files
# #
unlink("$::glob_mysql_test_dir/var/log/warnings"); unlink("$::opt_vardir/log/warnings");
unlink("$::glob_mysql_test_dir/var/log/warnings.tmp"); unlink("$::opt_vardir/log/warnings.tmp");
# Remove some non fatal warnings from the log files # Remove some non fatal warnings from the log files
# FIXME what is going on ????? ;-) # FIXME what is going on ????? ;-)
...@@ -196,11 +197,11 @@ sub mtr_report_stats ($) { ...@@ -196,11 +197,11 @@ sub mtr_report_stats ($) {
# found_error=1 # found_error=1
# } # }
# done # done
# unlink("$::glob_mysql_test_dir/var/log/warnings.tmp"); # unlink("$::opt_vardir/log/warnings.tmp");
# if ( $found_error= "1" ) # if ( $found_error= "1" )
# { # {
# print "WARNING: Got errors/warnings while running tests. Please examine\n" # print "WARNING: Got errors/warnings while running tests. Please examine\n"
# print "$::glob_mysql_test_dir/var/log/warnings for details.\n" # print "$::opt_vardir/log/warnings for details.\n"
# } # }
# } # }
} }
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment