Petr,

Thanks for the reply!

> I think you are looking for --extern option of the test suite. I
> corrected the README file. The changes should be propagated to the
> public repository soon, but you could check the commit mail for more
> details right now:
> http://lists.mysql.com/internals/26266

Ahah, this explains it.  We had tried the --extern option without any
args but it didn't work due to the fallback behavior.  A useful
enhancement would be to send a warning to STDERR saying that the
--extern option is being disregarded.

The example shows how to run 2 tests.  I though there were (a lot) more
tests available?  Why isn't there a simple way of running all available
tests on an installed and running mysql server?

And when I try it this happens:

db1 mysql-test # ./mysql-test-run --extern alias analyze
Starting Tests

TEST                            RESULT
-------------------------------------------------------
alias                          [ fail ]

Errors are (from /usr/share/mysql/mysql-test/var/log/mysqltest-time) :
./mysql-test-run: line 1637: /usr/share/mysql/bin/mysqltest: No such
file or directory
----->%---------


A couple of fixes need to be made to this script similar to the patch
below which does:

a) doesn't try to use a full path to mysqltest (as it has already been
installed)
b) fixes a case sensitivity problem with $MYSQL_TEST_ARGS (there seems
to be several more places in the script where it needs patching)

Cheers,

ds

--- mysql-test-run.orig 2005-06-21 16:58:18.419746418 -0700
+++ mysql-test-run      2005-06-21 17:06:46.286679482 -0700
@@ -1634,9 +1634,9 @@
     $RM -f r/$tname.*reject
     mysql_test_args="-R $result_file $EXTRA_MYSQL_TEST_OPT"
     if [ -z "$DO_CLIENT_GDB" ] ; then
-      `$MYSQL_TEST  $mysql_test_args < $tf 2> $TIMEFILE`;
+      `mysqltest  $MYSQL_TEST_ARGS < $tf 2> $TIMEFILE`;
     else
-      do_gdb_test "$mysql_test_args" "$tf"
+      do_gdb_test "$MYSQL_TEST_ARGS" "$tf"
     fi

     res=$?


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to