MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:November 16 2009 10:19am
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2854) Bug#48795
View as plain text  
#At file:///home/bm136801/my/valgsumm-51/ based on revid:bjorn.munch@stripped

 2854 Bjorn Munch	2009-11-16
      Bug #48795 Valgrind summary from tests where server has been restarted cause test failure
      Seen in a few tests after 43418
      Add code in extract_warning_lines() to skip this part

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2009-11-12 10:04:01 +0000
+++ b/mysql-test/mysql-test-run.pl	2009-11-16 10:18:16 +0000
@@ -3700,9 +3700,17 @@ sub extract_warning_lines ($$) {
      qr/Attempting backtrace/,
      qr/Assertion .* failed/,
     );
+  my $skip_valgrind= 0;
 
   foreach my $line ( @lines )
   {
+    if ($opt_valgrind_mysqld) {
+      # Skip valgrind summary from tests where server has been restarted
+      # Should this contain memory leaks, the final report will find it
+      $skip_valgrind= 1 if $line =~ /^==\d+== ERROR SUMMARY:/;
+      $skip_valgrind= 0 unless $line =~ /^==\d+==/;
+      next if $skip_valgrind;
+    }
     foreach my $pat ( @patterns )
     {
       if ( $line =~ /$pat/ )


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20091116101816-eluuaj1o7ei9zm8a.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2854) Bug#48795Bjorn Munch16 Nov
  • Re: bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2854) Bug#48795Tor Didriksen16 Nov