summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-02-15 14:02:48 -0700
committerunknown <sasha@mysql.sashanet.com>2002-02-15 14:02:48 -0700
commitf09e89d0fd530079ad3c75ff1f9a2650af5bcef6 (patch)
tree42549a60ef8fbd65354c15cfa7793feb2f9bb106 /mysql-test
parentfc6473fbca0730ab54ebb5068e43a662ede3ca03 (diff)
downloadmariadb-git-f09e89d0fd530079ad3c75ff1f9a2650af5bcef6.tar.gz
updates for the new build
configure.in: support for static nss on Linux when compiling --with-other-libc mysql-test/mysql-test-run.sh: --user-test option
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/mysql-test-run.sh19
1 files changed, 14 insertions, 5 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 09cdab9664b..d06f17d14e3 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -124,6 +124,7 @@ MASTER_MYPORT=9306
SLAVE_RUNNING=0
SLAVE_MYPORT=9307
NO_SLAVE=0
+USER_TEST=
EXTRA_MASTER_OPT=""
EXTRA_MYSQL_TEST_OPT=""
@@ -174,6 +175,9 @@ while test $# -gt 0; do
EXTRA_MYSQL_TEST_OPT="$EXTRA_MYSQL_TEST_OPT $1"
SLEEP_TIME=`$ECHO "$1" | $SED -e "s;--sleep=;;"`
;;
+ --user-test=*)
+ USER_TEST=`$ECHO "$1" | $SED -e "s;--user-test=;;"`
+ ;;
--mysqld=*)
TMP=`$ECHO "$1" | $SED -e "s;--mysqld=;;"`
EXTRA_MASTER_MYSQLD_OPT="$EXTRA_MASTER_MYSQLD_OPT $TMP"
@@ -905,11 +909,16 @@ then
if [ x$RECORD = x1 ]; then
$ECHO "Will not run in record mode without a specific test case."
else
- for tf in $TESTDIR/*.$TESTSUFFIX
- do
- run_testcase $tf
- done
- $RM -f $TIMEFILE # Remove for full test
+ if [ -z "$USER_TEST" ]
+ then
+ for tf in $TESTDIR/*.$TESTSUFFIX
+ do
+ run_testcase $tf
+ done
+ $RM -f $TIMEFILE # Remove for full test
+ else
+ $USER_TEST
+ fi
fi
else
tname=`$BASENAME $1 .test`