List:Commits« Previous MessageNext Message »
From:msvensson Date:April 25 2008 8:31am
Subject:bk commit into 5.1 tree (msvensson:1.2595)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson.  When msvensson does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-25 10:31:13+02:00, msvensson@stripped +1 -0
  Don't print stats when test run is abort because of test failure

  mysql-test/mysql-test-run.pl@stripped, 2008-04-25 10:31:10+02:00, msvensson@stripped +7 -0
    Don't print stats when test run is abort because of test failure

diff -Nrup a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
--- a/mysql-test/mysql-test-run.pl	2008-04-25 08:23:25 +02:00
+++ b/mysql-test/mysql-test-run.pl	2008-04-25 10:31:10 +02:00
@@ -291,6 +291,7 @@ sub main {
   mtr_print_thick_line();
   mtr_print_header();
 
+  my $num_tests= @$tests;
   my $completed= run_test_server($server, $tests, $opt_parallel);
 
   # Send Ctrl-C to any children still running
@@ -306,6 +307,12 @@ sub main {
     else {
       delete $children{$ret_pid};
     }
+  }
+
+  if ( @$completed != $num_tests){
+    # Not all tests completed, failure
+    mtr_error("Test failed.",
+	      "To continue, re-run with '--force'");
   }
 
   mtr_verbose("Server exit\n");
Thread
bk commit into 5.1 tree (msvensson:1.2595)msvensson25 Apr