tests: Move EDID test header to include/tests/lib
Move header to path with all other test headers to make include paths unambigous. Change-Id: Ie2dbb055df658272424df95f58d84caaeba3fc8f Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60969 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
		
				
					committed by
					
						
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							ae3f90b8f3
						
					
				
				
					commit
					727a84b9a7
				
			@@ -1,5 +1,8 @@
 | 
				
			|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
					/* SPDX-License-Identifier: GPL-2.0-only */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef TESTS_LIB_EDID_H
 | 
				
			||||||
 | 
					#define TESTS_LIB_EDID_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <commonlib/bsd/helpers.h>
 | 
					#include <commonlib/bsd/helpers.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -195,3 +198,5 @@ _Static_assert(sizeof(struct edid_raw) == 128,
 | 
				
			|||||||
					EDID_COLOR_W_X92, \
 | 
										EDID_COLOR_W_X92, \
 | 
				
			||||||
					EDID_COLOR_W_Y92, \
 | 
										EDID_COLOR_W_Y92, \
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* TESTS_LIB_EDID_H */
 | 
				
			||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
#include <edid.h>
 | 
					#include <edid.h>
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
#include <lib/edid-test.h>
 | 
					#include <tests/lib/edid.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct test_state {
 | 
					struct test_state {
 | 
				
			||||||
	int data_size;
 | 
						int data_size;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user