# Smaller test suite for tier2 platforms on mysql-trunk-stage
# Runs all test suites with no special mysqld or MTR options
# All tests are run without big-test option. or debug-server option
#
# Run all default suites without specifying any replication mode. This will run
# rpl tests in all 3 modes row, stmt and mixed
perl mysql-test-run.pl --force --timer   --comment=all-default  --vardir=var-all-default  --report-features --unit-tests-report --no-skip --skip-ndb
# Run all ndb tests separately.
# If no Ndb support, no tests will be attempted.
perl mysql-test-run.pl --force --timer   --comment=ndb  --vardir=var-ndb  --report-features --no-skip --with-ndb-only

# Run the suites that are not part of the default
# funcs_1, funcs_2, stress, jp, nist, GR
perl mysql-test-run.pl --force --timer  --comment=funcs1  --vardir=var-funcs1 --suite=funcs_1 --no-skip --max-test-fail=30
perl mysql-test-run.pl --force --timer  --comment=funcs2  --vardir=var-funcs2 --suite=funcs_2 --no-skip --max-test-fail=30
perl mysql-test-run.pl --force --timer    --comment=stress --vardir=var-stress  --suite=stress --no-skip --max-test-fail=30
perl mysql-test-run.pl --force --timer    --comment=jp --vardir=var-jp --suite=jp --no-skip --max-test-fail=30
perl mysql-test-run.pl --force --timer    --comment=nist  --vardir=var-nist --suite=nist --no-skip


# Engine independent tests

perl mysql-test-run.pl --timer --force     --comment=eits-tests-myisam-engine --vardir=var-stmt-eits-tests-myisam-engine --suite=engines/iuds,engines/funcs --mysqld=--default-storage-engine=myisam --mysqld=--default-tmp-storage-engine=myisam --no-skip
perl mysql-test-run.pl --timer --force   --comment=eits-tests-innodb-engine --vardir=var-stmt-eits-tests-innodb-engine --suite=engines/iuds,engines/funcs  --mysqld=--default-storage-engine=innodb --no-skip

# Memcached tests
perl mysql-test-run.pl --timer --force  --comment=memcached --vardir=var-memcached  --suite=memcached --no-skip

# Group Replication
perl mysql-test-run.pl --timer --force --parallel=6 --comment=group_replication_ssl_mode_required --vardir=var-group_replication_ssl_mode_required --suite=group_replication --mysqld=--loose-group_replication_ssl_mode=REQUIRED
