~percona-dev/percona-xtrabackup/win_tests

« back to all changes in this revision

Viewing changes to test/run.sh

  • Committer: Valentine Gostev
  • Date: 2011-03-03 15:28:18 UTC
  • mfrom: (226.1.1 percona-xtrabackup)
  • Revision ID: core.longbow@gmail.com-20110303152818-2s6cm61jicpwhbnk
Added test for 713799, added suite support

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        echo "-g          Output debug information to results/*.out"
11
11
        echo "-t          Run only a single named test"
12
12
        echo "-h          Print this help megssage"
 
13
        echo "-s          Select a test suite to run. Possible values: experimental, t. Default is t"
13
14
}
14
15
XTRACE_OPTION=""
15
16
export SKIPPED_EXIT_CODE=200
16
17
export MYSQL_VERSION="system"
17
 
while getopts "gh?m:t:" options; do
 
18
while getopts "gh?m:t:s:" options; do
18
19
        case $options in
19
20
                m ) export MYSQL_VERSION="$OPTARG";;
20
21
                t ) tname="$OPTARG";;
21
22
                g ) XTRACE_OPTION="-x";;
22
23
                h ) usage; exit;;
 
24
                s ) tname="$OPTARG/*.sh";;
23
25
                \? ) usage; exit -1;;
24
26
                * ) usage; exit -1;;
25
27
        esac