mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	This adds a bunch of unit tests for the "fdt apply" command. They've all been run successfully in the sandbox. However, as you still require an out-of-tree dtc with overlay support, this is disabled by default. Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			344 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			344 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2016 NextThing Co
 | 
						|
 * Copyright (c) 2016 Free Electrons
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __TEST_OVERLAY_H__
 | 
						|
#define __TEST_OVERLAY_H__
 | 
						|
 | 
						|
#include <test/test.h>
 | 
						|
 | 
						|
/* Declare a new environment test */
 | 
						|
#define OVERLAY_TEST(_name, _flags)	UNIT_TEST(_name, _flags, overlay_test)
 | 
						|
 | 
						|
#endif /* __TEST_OVERLAY_H__ */
 |