f9961fff31
Add test case executed twice, once for ROMSTAGE and once RAMSTAGE. Each test is named and visible in cmocka output with stage in its name. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I464eee61f538188427bec730d2e004c7b76cca67 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47642 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
41 lines
No EOL
1.3 KiB
Makefile
41 lines
No EOL
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
tests-y += string-test
|
|
tests-y += b64_decode-test
|
|
tests-y += hexstrtobin-test
|
|
tests-y += imd-test
|
|
tests-y += timestamp-test
|
|
tests-y += edid-test
|
|
tests-y += cbmem_console-romstage-test
|
|
tests-y += cbmem_console-ramstage-test
|
|
|
|
string-test-srcs += tests/lib/string-test.c
|
|
string-test-srcs += src/lib/string.c
|
|
|
|
b64_decode-test-srcs += tests/lib/b64_decode-test.c
|
|
b64_decode-test-srcs += tests/stubs/console.c
|
|
b64_decode-test-srcs += src/lib/b64_decode.c
|
|
|
|
hexstrtobin-test-srcs += tests/lib/hexstrtobin-test.c
|
|
hexstrtobin-test-srcs += src/lib/hexstrtobin.c
|
|
|
|
imd-test-srcs += tests/lib/imd-test.c
|
|
imd-test-srcs += tests/stubs/console.c
|
|
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
|
|
|
|
edid-test-srcs += tests/lib/edid-test.c
|
|
edid-test-srcs += src/lib/edid.c
|
|
edid-test-srcs += tests/stubs/console.c
|
|
|
|
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
|
|
cbmem_console-ramstage-test-srcs += tests/stubs/console.c
|