用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

80 lines
5.2 KiB

# Daily suite - Collection of tests that are run daily.
# Runs overnight and should finish in under 8 hours.
# Runs all suites with --big-test and without --debug-server.
# Runs rpl, binlog and innodb suites with some additional mysqld options
# passed on command line.
# NOTE : DO NOT ADD "--debug-server" OPTION TO THE MTR
# COMMAND LINES IN default.daily
# NOTE : ALL COMMAND LINES ADDED TO "default.daily"
# SHOULD BE ALSO ADDED TO default.weekly WITH "--debug-server" OPTION
# Daily is not run on debug build because they cannot finish in under 8 hours
# Weekly runs against debug and runs all tests that are run in deaily
#
#### SECTION 1: RUN DEFAULT SUITES##############
# Add all combinations with default suites in this section
#
# Run all default suites
# rpl and binlog suites run with all 3
# binlog-formats row, stmt and mixed
# Run with --big-test option so that longer tests are also run
# Run with --non-parallel-test option so that non parallel tests are also run
perl mysql-test-run.pl --force --timer --big-test --non-parallel-test --testcase-timeout=90 --comment=all-default-big --vardir=var-all-default-big --report-features --unit-tests-report --no-skip
# Run default suites with ps protocol
perl mysql-test-run.pl --force --timer --comment=ps --vardir=var-ps --ps-protocol
############END OF SECTION1(DEFAULT SUITES) ######################
#################SECTION2: RUN SUITES THAT ARE NOT PART OF DEFAULT##########
# Run the suites that are not part of the default - funcs_2, stress, jp, nist
# interactive_utilities,engines, memcached, audit_null
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=60 --comment=audit_null-big --vardir=var-audit_null-big --suite=audit_null --no-skip
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=60 --comment=funcs1-big --vardir=var-funcs1-big --suite=funcs_1 --no-skip
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=60 --comment=funcs2-big --vardir=var-funcs2-big --suite=funcs_2 --no-skip
perl mysql-test-run.pl --force --timer --big-test --comment=stress --vardir=var-stress --suite=stress --no-skip
perl mysql-test-run.pl --force --timer --big-test --comment=jp --vardir=var-jp --suite=jp --no-skip
perl mysql-test-run.pl --force --timer --big-test --comment=nist --vardir=var-nist --suite=nist --no-skip
perl mysql-test-run.pl --force --timer --comment=nist+ps --vardir=var-ps_nist --suite=nist --ps-protocol --no-skip
perl mysql-test-run.pl --force --timer --big-test --testcase-timeout=60 --comment=interactive_tests --vardir=var-interactive --suite=interactive_utilities --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 --vardir=var-group_replication --suite=group_replication --big-test --testcase-timeout=60 --suite-timeout=360
######END OF SECTION 2 (NON-DEFAULT SUITES)######################
######## SECTION 3: EXTENDED RUNS FOR REPLICATION AND BINLOG#######
# Add runs of rpl and binlog test suites with additional
# MTR or mysqld options in this section
# Additional modes for rpl. Multi-Threaded Slave
perl mysql-test-run.pl --timer --force --comment=rpl_MTS_db_part --vardir=var-mts-rpl_db --mysqld=--slave-parallel-workers=4 --mysqld=--slave-parallel-type=database --do-suite=rpl --no-skip
perl mysql-test-run.pl --timer --force --comment=rpl_MTS_LC --vardir=var-rpl_mts_LC --mysqld=--slave-parallel-workers=4 --mysqld=--slave-parallel-type=logical_clock --do-suite=rpl --no-skip
# Additional GTID coverage (rpl suite with gtid_mode=ON)
perl mysql-test-run.pl --force --timer --comment=rpl_with_gtid --vardir=var-rpl_gtid --suite=rpl --mysqld=--enforce-gtid-consistency --mysqld=--gtid-mode=on --no-skip
# Additional GTID coverage (binlog suite with gtid_mode=ON)
perl mysql-test-run.pl --force --timer --comment=binlog_with_gtid --vardir=var-binlog_gtid --suite=binlog --mysqld=--enforce-gtid-consistency --mysqld=--gtid-mode=on --no-skip
################END OF SECTION3(EXTENDED RPL/BINLOG) ####################
#######SECTION 4 : EXTENDED RUNS FOR INNODB SUITES #####
# Run innodb suite including big-test with innodb-page-size=4k
perl mysql-test-run.pl --timer --force --big-test --testcase-timeout=60 --comment=innodb_page-size-4k_size --vardir=var-innodb_page-size-4k --initialize --innodb-page-size=4k --mysqld=--innodb-page-size=4k --suite=innodb --no-skip
# Run innodb suite with innodb-page-size=8k
perl mysql-test-run.pl --timer --force --comment=innodb-page-size-8k --vardir=var-innodb-page-size-8k --initialize --innodb-page-size=8k --mysqld=--innodb-page-size=8k --suite=innodb --no-skip
####END OF SECTION4(EXTENDED INNODB) ####################