# Extended testsuite for mysql-trunk-stage
# Covers more tests than default.push to catch problems in stage before
# code is pushed to main trees
#
# Run all default suites without specifying any replication mode. This will run
# rpl tests in all 3 modes row, stmt and mixed
# Run with --big-test option so that longer tests are also run
perl mysql-test-run.pl --force --timer  --big-test --testcase-timeout=90    --comment=all-default-big  --vardir=var-all-default-big  --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  --big-test --testcase-timeout=90    --comment=all-ndb  --vardir=var-ndb-big  --report-features --no-skip --with-ndb-only

# Run all default suites with ps-protocol
perl mysql-test-run.pl --force --timer    --comment=ps --vardir=var-ps --ps-protocol --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-ps --vardir=var-ndb-ps --ps-protocol --no-skip --with-ndb-only

# Run innodb suites with different pagesizes
perl mysql-test-run.pl --timer  --force  --comment=innodb_4k --vardir=var-innodb-4k  --suite=innodb_undo,innodb_zip,innodb --initialize=--innodb-page-size=4k --no-skip --max-test-fail=30
perl mysql-test-run.pl --timer  --force  --comment=innodb_64k --vardir=var-innodb-64k  --suite=innodb_undo,innodb_zip,innodb --initialize=--innodb-page-size=64k --no-skip --max-test-fail=30

# Additional modes for rpl. Multi-Threaded Slave
perl mysql-test-run.pl --timer  --force  --comment=rpl_binlog_n_mix_MTS --vardir=var-mts-rpl-binlog-n_mix --mysqld=--binlog-format=mixed  --mysqld=--slave-parallel-workers=4 --suite=rpl,rpl_gtid,rpl_nogtid --no-skip --max-test-fail=30

# Run the suites that are not part of the default - funcs_1, funcs_2, stress, jp, nist
perl mysql-test-run.pl --force --timer --testcase-timeout=60     --comment=funcs1  --vardir=var-funcs1 --suite=funcs_1 --no-skip --max-test-fail=30
perl mysql-test-run.pl --force --timer --testcase-timeout=60     --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

