coreboot-kgpe-d16/tests/lib
Jakub Czapiga 7c6081e02b tests: Improve test output readability
When running multiple tests, e.g. by using unit-tests target, it is hard
to differentiate, which output comes from which file and/or
configuration. This patch makes the output easier to analyze and
understand by using new wrapper macro cb_run_group_tests(). This macro
uses __TEST_NAME__ value (containing test path and Makefile test name)
as a group name when calling cmocka group runner.

Example:
 Test path: tests/lib/
 Makefile test name: cbmem_stage_cache-test
 Test group array name: tests
 Result: tests/lib/cbmem_stage_cache-test(tests)

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I4fd936d00d77cbe2637b857ba03b4a208428ea0d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57144
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2021-09-01 19:38:09 +00:00
..
b64_decode-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
bootmem-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
cbmem_console-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
cbmem_stage_cache-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
compute_ip_checksum-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
coreboot_table-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
crc_byte-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
dimm_info_util-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
edid-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
fmap-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
hexstrtobin-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
imd-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
imd_cbmem-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
libgcc-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
list-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
Makefile.inc tests/Makefile.inc: Add missing include paths to TEST_CFLAGS 2021-08-13 18:05:55 +00:00
malloc-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memchr-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memcmp-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memcpy-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memmove-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memrange-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
memset-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
region_file-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
rtc-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
spd_cache-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
stack-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
string-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
timestamp-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00
uuid-test.c tests: Improve test output readability 2021-09-01 19:38:09 +00:00