diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2022-01-04 10:17:06 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-01-12 23:33:05 +0000 |
commit | 727a84b9a77d2132537bd63f72fb33848f4f99a5 (patch) | |
tree | 8ad4f17d735c139e907fbdf4d37c3a2dd482e750 /tests | |
parent | ae3f90b8f308b1b86012b52f69f34b2009db57a0 (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/include/tests/lib/edid.h (renamed from tests/include/lib/edid-test.h) | 5 | ||||
-rw-r--r-- | tests/lib/edid-test.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/include/lib/edid-test.h b/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 <stdlib.h> #include <commonlib/bsd/helpers.h> @@ -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 <edid.h> #include <assert.h> #include <string.h> -#include <lib/edid-test.h> +#include <tests/lib/edid.h> struct test_state { int data_size; |