2020-05-06 16:01:27 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2020-04-20 15:19:45 +02:00
|
|
|
|
|
|
|
tests-y += string-test
|
2020-06-08 15:16:19 +02:00
|
|
|
tests-y += b64_decode-test
|
2020-07-02 10:09:47 +02:00
|
|
|
tests-y += hexstrtobin-test
|
2020-10-05 10:44:46 +02:00
|
|
|
tests-y += imd-test
|
2020-10-09 10:07:47 +02:00
|
|
|
tests-y += timestamp-test
|
2020-10-09 16:02:46 +02:00
|
|
|
tests-y += edid-test
|
2020-11-16 15:25:34 +01:00
|
|
|
tests-y += cbmem_console-romstage-test
|
|
|
|
tests-y += cbmem_console-ramstage-test
|
2020-11-12 12:10:51 +01:00
|
|
|
tests-y += list-test
|
2020-12-10 11:16:47 +01:00
|
|
|
tests-y += fmap-test
|
2020-10-08 12:37:40 +02:00
|
|
|
tests-y += imd_cbmem-romstage-test
|
|
|
|
tests-y += imd_cbmem-ramstage-test
|
2021-01-07 09:24:33 +01:00
|
|
|
tests-y += region_file-test
|
2021-02-05 15:10:25 +01:00
|
|
|
tests-y += stack-test
|
2021-02-15 12:07:10 +01:00
|
|
|
tests-y += memset-test
|
2021-02-16 11:13:32 +01:00
|
|
|
tests-y += memcmp-test
|
2021-02-15 14:21:20 +01:00
|
|
|
tests-y += memchr-test
|
2021-02-16 13:27:17 +01:00
|
|
|
tests-y += memcpy-test
|
2021-02-15 09:54:03 +01:00
|
|
|
tests-y += malloc-test
|
2020-04-20 15:19:45 +02:00
|
|
|
|
|
|
|
string-test-srcs += tests/lib/string-test.c
|
|
|
|
string-test-srcs += src/lib/string.c
|
2020-06-08 15:16:19 +02:00
|
|
|
|
|
|
|
b64_decode-test-srcs += tests/lib/b64_decode-test.c
|
2020-07-07 16:38:27 +02:00
|
|
|
b64_decode-test-srcs += tests/stubs/console.c
|
2020-06-08 15:16:19 +02:00
|
|
|
b64_decode-test-srcs += src/lib/b64_decode.c
|
2020-07-02 10:09:47 +02:00
|
|
|
|
|
|
|
hexstrtobin-test-srcs += tests/lib/hexstrtobin-test.c
|
|
|
|
hexstrtobin-test-srcs += src/lib/hexstrtobin.c
|
2020-10-05 10:44:46 +02:00
|
|
|
|
|
|
|
imd-test-srcs += tests/lib/imd-test.c
|
|
|
|
imd-test-srcs += tests/stubs/console.c
|
2020-10-09 10:07:47 +02:00
|
|
|
imd-test-srcs += src/lib/imd.c
|
|
|
|
|
|
|
|
timestamp-test-srcs += tests/lib/timestamp-test.c
|
|
|
|
timestamp-test-srcs += tests/stubs/timestamp.c
|
|
|
|
timestamp-test-srcs += tests/stubs/console.c
|
|
|
|
timestamp-test-stage := romstage
|
2020-10-09 16:02:46 +02:00
|
|
|
|
|
|
|
edid-test-srcs += tests/lib/edid-test.c
|
|
|
|
edid-test-srcs += src/lib/edid.c
|
|
|
|
edid-test-srcs += tests/stubs/console.c
|
|
|
|
|
2020-11-16 15:25:34 +01:00
|
|
|
cbmem_console-romstage-test-stage := romstage
|
|
|
|
cbmem_console-romstage-test-srcs += tests/lib/cbmem_console-test.c
|
|
|
|
cbmem_console-romstage-test-srcs += tests/stubs/console.c
|
|
|
|
|
|
|
|
cbmem_console-ramstage-test-stage := ramstage
|
|
|
|
cbmem_console-ramstage-test-srcs += tests/lib/cbmem_console-test.c
|
2020-11-12 12:10:51 +01:00
|
|
|
cbmem_console-ramstage-test-srcs += tests/stubs/console.c
|
|
|
|
|
|
|
|
list-test-srcs += tests/lib/list-test.c
|
|
|
|
list-test-srcs += src/lib/list.c
|
|
|
|
|
2020-12-10 11:16:47 +01:00
|
|
|
fmap-test-srcs += tests/lib/fmap-test.c
|
|
|
|
fmap-test-srcs += src/lib/fmap.c
|
|
|
|
fmap-test-srcs += tests/stubs/console.c
|
|
|
|
fmap-test-srcs += src/lib/boot_device.c
|
|
|
|
fmap-test-srcs += src/commonlib/region.c
|
|
|
|
fmap-test-cflags += -I tests/include/tests/lib/fmap
|
|
|
|
fmap-test-cflags += -I 3rdparty/vboot/firmware/include
|
2020-10-08 12:37:40 +02:00
|
|
|
|
|
|
|
imd_cbmem-ramstage-test-stage := ramstage
|
|
|
|
imd_cbmem-ramstage-test-srcs += tests/lib/imd_cbmem-test.c
|
|
|
|
imd_cbmem-ramstage-test-srcs += tests/stubs/console.c
|
|
|
|
imd_cbmem-ramstage-test-srcs += src/lib/imd.c
|
|
|
|
imd_cbmem-ramstage-test-mocks += cbmem_top_chipset
|
|
|
|
|
|
|
|
imd_cbmem-romstage-test-stage := romstage
|
|
|
|
imd_cbmem-romstage-test-srcs += tests/lib/imd_cbmem-test.c
|
|
|
|
imd_cbmem-romstage-test-srcs += tests/stubs/console.c
|
|
|
|
imd_cbmem-romstage-test-srcs += src/lib/imd.c
|
|
|
|
imd_cbmem-romstage-test-mocks += cbmem_top_chipset
|
|
|
|
|
2021-01-07 09:24:33 +01:00
|
|
|
region_file-test-srcs += tests/lib/region_file-test.c
|
|
|
|
region_file-test-srcs += src/commonlib/region.c
|
|
|
|
region_file-test-srcs += tests/stubs/console.c
|
2021-02-05 15:10:25 +01:00
|
|
|
|
|
|
|
stack-test-srcs += tests/lib/stack-test.c
|
|
|
|
stack-test-srcs += src/lib/stack.c
|
|
|
|
stack-test-srcs += tests/stubs/console.c
|
2021-02-15 12:07:10 +01:00
|
|
|
|
|
|
|
memset-test-srcs += tests/lib/memset-test.c
|
|
|
|
memset-test-srcs += src/lib/memset.c
|
2021-02-16 11:13:32 +01:00
|
|
|
|
|
|
|
memcmp-test-srcs += tests/lib/memcmp-test.c
|
|
|
|
|
2021-02-15 14:21:20 +01:00
|
|
|
memchr-test-srcs += tests/lib/memchr-test.c
|
|
|
|
memchr-test-srcs += src/lib/memchr.c
|
|
|
|
|
2021-02-16 13:27:17 +01:00
|
|
|
memcpy-test-srcs += tests/lib/memcpy-test.c
|
|
|
|
|
2021-02-15 09:54:03 +01:00
|
|
|
malloc-test-srcs += tests/lib/malloc-test.c
|
|
|
|
malloc-test-srcs += tests/stubs/console.c
|
|
|
|
|