# Daily Valgrind run
# Since valgrind runs are considerably slower than normal runs,
# this collection can have one run of all suites without big-test.
#
# Multiple runs of same suite with different options are not
# allowed in this collection
#
# Run all default suites except rpl suites
perl mysql-test-run.pl --timer  --force --skip-rpl --comment=all_default_valgrind --vardir=var-all_default_valgrind --skip-ndb
# Run all ndb tests with valgrind separately.
# If no Ndb support, no tests will be attempted.
perl mysql-test-run.pl --timer  --force --skip-rpl --comment=ndb_valgrind --vardir=var-ndb_valgrind --with-ndb-only --skip-suite=ndb_tls
perl mysql-test-run.pl --exclude-platform=_el7-|_solaris11- --timer  --force --skip-rpl --comment=ndb_tls_valgrind --vardir=var-ndb-tls_valgrind --suite=ndb_tls
# Run rpl suites with explict --parallel
perl mysql-test-run.pl --timer  --force --parallel=6 --comment=rpl-valgrind --vardir=var-rpl-valgrind --suite=rpl,rpl_gtid,rpl_nogtid
perl mysql-test-run.pl --force --timer --testcase-timeout=60    --comment=funcs2  --vardir=var-funcs2 --suite=funcs_2
perl mysql-test-run.pl --force --timer    --comment=stress --vardir=var-stress  --suite=stress
perl mysql-test-run.pl --force --timer    --comment=jp --vardir=var-jp --suite=jp
perl mysql-test-run.pl --force --timer    --comment=nist  --vardir=var-nist --suite=nist

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

# Group Replication
perl mysql-test-run.pl --timer  --force --parallel=6 --comment=group_replication-valgrind --vardir=var-group_replication-valgrind --suite=group_replication
