mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Issue: ------ New test case mysql_embedded.test was failing on pb2. Description: ------------ To run this test case executable libmysqld/examples/mysql_embedded is required. But as per /libmysqld/examples/cmake_install.cmake this executable doesn't get copied to <install_dir> when mysql is installed at <install_dir>.That is the reason it was passing in my local branch and failed on pb2 when pushed. Solution; --------- Added code in mysql-test-run.pl, which will try to see if this file exists.If It doesn't exist, test case will be skipped with a skip message. New code in mysql-test-run.pl looks only for directory libmysqld/examples/mysql_embedded because this is the only place where this file could/does exist.
		
			
				
	
	
		
			13 lines
		
	
	
		
			283 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			283 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --echo #
 | |
| --echo # Bug#12561297 : LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
 | |
| --echo #
 | |
| 
 | |
| --source include/is_embedded.inc
 | |
| 
 | |
| # Test case require mysql_embedded to be present
 | |
| if(!$MYSQL_EMBEDDED)
 | |
| {
 | |
|   --skip Test requires mysql_embedded executable
 | |
| }
 | |
| --exec $MYSQL_EMBEDDED -e 'select 1'
 |