From 727a84b9a77d2132537bd63f72fb33848f4f99a5 Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Tue, 4 Jan 2022 10:17:06 +0000 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60969 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- tests/include/{lib/edid-test.h => tests/lib/edid.h} | 5 +++++ tests/lib/edid-test.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) rename tests/include/{lib/edid-test.h => tests/lib/edid.h} (98%) diff --git a/tests/include/lib/edid-test.h b/tests/include/tests/lib/edid.h similarity index 98% rename from tests/include/lib/edid-test.h rename to tests/include/tests/lib/edid.h index 8327748b66..25d5c8a159 100644 --- a/tests/include/lib/edid-test.h +++ b/tests/include/tests/lib/edid.h @@ -1,5 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef TESTS_LIB_EDID_H +#define TESTS_LIB_EDID_H + #include #include @@ -195,3 +198,5 @@ _Static_assert(sizeof(struct edid_raw) == 128, EDID_COLOR_W_X92, \ EDID_COLOR_W_Y92, \ } + +#endif /* TESTS_LIB_EDID_H */ diff --git a/tests/lib/edid-test.c b/tests/lib/edid-test.c index 73ce4ecaf7..a93e88a292 100644 --- a/tests/lib/edid-test.c +++ b/tests/lib/edid-test.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include struct test_state { int data_size;