diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2023-09-16 19:56:45 +0200 |
---|---|---|
committer | Jakub Czapiga <czapiga@google.com> | 2024-02-24 11:49:46 +0000 |
commit | a99b580c75278d306d2d1eb0b6893e83388ec513 (patch) | |
tree | fe7c54d9195782454984f4d9a9165c658a0f07aa /tests | |
parent | 366ceeef0f07d3962ee6e6a0f3151a7f438c97ed (diff) |
treewide: Move list.h to commonlib
It is needed in order to move device_tree.c into commonlib in a
subsequent commit.
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I16eb7b743fb1d36301f0eda563a62364e7a9cfec
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77968
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commonlib/Makefile.mk | 4 | ||||
-rw-r--r-- | tests/commonlib/list-test.c (renamed from tests/lib/list-test.c) | 2 | ||||
-rw-r--r-- | tests/lib/Makefile.mk | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/commonlib/Makefile.mk b/tests/commonlib/Makefile.mk index 6df1db8fc5..55c3ddd702 100644 --- a/tests/commonlib/Makefile.mk +++ b/tests/commonlib/Makefile.mk @@ -2,9 +2,13 @@ subdirs-y += bsd +tests-y += list-test tests-y += rational-test tests-y += region-test +list-test-srcs += tests/commonlib/list-test.c +list-test-srcs += src/commonlib/list.c + rational-test-srcs += tests/commonlib/rational-test.c rational-test-srcs += src/commonlib/rational.c diff --git a/tests/lib/list-test.c b/tests/commonlib/list-test.c index 39bfb17f7c..4ca48a468f 100644 --- a/tests/lib/list-test.c +++ b/tests/commonlib/list-test.c @@ -3,7 +3,7 @@ #include <tests/test.h> #include <stdlib.h> #include <string.h> -#include <list.h> +#include <commonlib/list.h> struct test_container { int value; diff --git a/tests/lib/Makefile.mk b/tests/lib/Makefile.mk index b8c4c71eaf..01777171c9 100644 --- a/tests/lib/Makefile.mk +++ b/tests/lib/Makefile.mk @@ -9,7 +9,6 @@ tests-y += timestamp-test tests-y += edid-test tests-y += cbmem_console-romstage-test tests-y += cbmem_console-ramstage-test -tests-y += list-test tests-y += fmap-test tests-y += imd_cbmem-romstage-test tests-y += imd_cbmem-ramstage-test @@ -74,9 +73,6 @@ cbmem_console-ramstage-test-stage := ramstage cbmem_console-ramstage-test-srcs += tests/lib/cbmem_console-test.c cbmem_console-ramstage-test-srcs += tests/stubs/console.c -list-test-srcs += tests/lib/list-test.c -list-test-srcs += src/lib/list.c - fmap-test-srcs += tests/lib/fmap-test.c fmap-test-srcs += src/lib/fmap.c fmap-test-srcs += tests/stubs/console.c |