List:Internals« Previous MessageNext Message »
From:jani Date:March 8 2005 4:32pm
Subject:bk commit into 4.1 tree (jani:1.2094)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jani. When jani 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.2094 05/03/08 18:32:31 jani@stripped +1 -0
  Added possibility to add disabled tests to mysql-test-run.

  mysql-test/mysql-test-run.sh
    1.245 05/03/08 18:32:28 jani@stripped +18 -0
    Added possibility to add disabled tests to mysql-test-run.

# 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:	jani
# Host:	ua141d10.elisa.omakaista.fi
# Root:	/home/my/bk/mysql-4.1

--- 1.244/mysql-test/mysql-test-run.sh	2005-03-07 15:27:39 +02:00
+++ 1.245/mysql-test/mysql-test-run.sh	2005-03-08 18:32:28 +02:00
@@ -817,6 +817,18 @@
    $ECHO "$RES$RES_SPACE [ skipped ]"
 }
 
+
+disable_test() {
+   USERT="    ...."
+   SYST="    ...."
+   REALT="    ...."
+   pname=`$ECHO "$1                        "|$CUT -c 1-24`
+   RES="$pname"
+   skip_inc
+   $ECHO "$RES$RES_SPACE [ disabled ]  $2"
+}
+
+
 report_current_test () {
    tname=$1
    echo "CURRENT_TEST: $tname" >> $MASTER_MYERR
@@ -1470,6 +1482,12 @@
  SKIP_SLAVE=`$EXPR \( $tname : rpl \) = 0`
  if [ -n "$RESULT_EXT" -a \( x$RECORD = x1 -o -f "$result_file$RESULT_EXT" \) ] ; then
    result_file="$result_file$RESULT_EXT"
+ fi
+ if [ -f "$TESTDIR/$tname.disabled" ]
+ then
+   comment=`$CAT $TESTDIR/$tname.disabled`;
+   disable_test $tname "$comment"
+   return
  fi
  if [ "$USE_MANAGER" = 1 ] ; then
   many_slaves=`$EXPR \( \( $tname : rpl_failsafe \) != 0 \) \| \( \( $tname : rpl_chain_temp_table \) != 0 \)`
Thread
bk commit into 4.1 tree (jani:1.2094)jani8 Mar