List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:March 1 2006 12:15pm
Subject:bk commit into 4.1 tree (joerg:1.2476)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of joerg. When joerg 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
  1.2476 06/03/01 13:15:37 joerg@stripped +1 -0
  mysql-test/mysql-test-run.pl  :  Add a "--comment=<string>" option (backport from 5.1).

  mysql-test/mysql-test-run.pl
    1.54 06/03/01 13:15:33 joerg@stripped +11 -0
    Add a "--comment=<string>" option (backport from 5.1).
    Its sole purpose is to get logged, so that test evaluation gets easier.
    See "Do-compile" for how it is called, and "gen-build-status-page" for its effect.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	joerg
# Host:	trift2.
# Root:	/M41/comment-4.1

--- 1.53/mysql-test/mysql-test-run.pl	2006-02-11 23:32:40 +01:00
+++ 1.54/mysql-test/mysql-test-run.pl	2006-03-01 13:15:33 +01:00
@@ -184,6 +184,7 @@
 
 our @opt_extra_mysqld_opt;
 
+our $opt_comment;
 our $opt_compress;
 our $opt_current_test;
 our $opt_ddd;
@@ -536,6 +537,7 @@
 
              # Misc
              'big-test'                 => \$opt_big_test,
+             'comment=s'                => \$opt_comment,
              'compress'                 => \$opt_compress,
              'debug'                    => \$opt_debug,
              'fast'                     => \$opt_fast,
@@ -571,6 +573,14 @@
     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-/ )
@@ -2398,6 +2408,7 @@
 
   verbose               Verbose output from this script
   script-debug          Debug this script itself
+  comment=STR           Write STR to the output
   compress              Use the compressed protocol between client and server
   timer                 Show test case execution time
   start-and-exit        Only initiate and start the "mysqld" servers, use the startup
Thread
bk commit into 4.1 tree (joerg:1.2476)Joerg Bruehe1 Mar