mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 08:21:36 +01:00 
			
		
		
		
	Currently we have code which prints out platform data at the start of SPL. Now that we have tests for dtoc this is probably not necessary. Drop it. Update test_ofplatdata to check for empty output since it is useful to check that sandbox_spl works as expected. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			15 lines
		
	
	
		
			387 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			387 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright (c) 2016 Google, Inc
 | |
| #
 | |
| # SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| import pytest
 | |
| 
 | |
| OF_PLATDATA_OUTPUT = ''
 | |
| 
 | |
| @pytest.mark.buildconfigspec('spl_of_platdata')
 | |
| def test_ofplatdata(u_boot_console):
 | |
|     """Test that of-platdata can be generated and used in sandbox"""
 | |
|     cons = u_boot_console
 | |
|     output = cons.get_spawn_output().replace('\r', '')
 | |
|     assert OF_PLATDATA_OUTPUT in output
 |