mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	Patch backported: bzr diff '-rrevid:alfranio.correia@oracle.com-20101121143257-se3vpqus73l4mum0 ..revid:luis.soares@oracle.com-20101124111752-9b8260bd1qak87hr' --old=lp:mysql-server --new=lp:mysql-server
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			738 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			738 B
		
	
	
	
		
			Text
		
	
	
	
	
	
Binlog checksum testing
 | 
						|
=======================
 | 
						|
 | 
						|
1. How it works.
 | 
						|
The script copies a <suite> to directory <suite>_checksum, 
 | 
						|
collects test case names for t/ directory (except tests from
 | 
						|
disabled def), randomly choose 90% of tests and add them 
 | 
						|
to disabled.def.
 | 
						|
It means that mtr will run only 10% of random tests from each 
 | 
						|
suite.
 | 
						|
At end the script run mtr:
 | 
						|
./mysql-test-run.pl --suite=aaa_checksum,bbb_checksum \
 | 
						|
    --mysqld=--binlog-checksum=CRC32 arg1 ... argN
 | 
						|
 | 
						|
aaa,bbb 	- suite names from --suite option
 | 
						|
arg1,argN	- other command-line arguments of checksum.pl
 | 
						|
 | 
						|
2. The options:
 | 
						|
 | 
						|
--suite=suite1,suite2.  Mandatory option. The list of suites for 
 | 
						|
    binlog checksum testing.
 | 
						|
 | 
						|
--percent=N, where N is 1..99. Percent of running tests. 
 |