diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-04-28 16:50:51 +0200 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-05-13 00:15:54 +0000 |
commit | 5c3b05ecf4dbb89da3dd7bc514875b53e3a8ce1c (patch) | |
tree | 630569e38291d099dfd0402ef67511a38692942f /tests/lib/dimm_info_util-test.c | |
parent | 62682e79a72bbc25c5c3ef937b347c8ae32a136c (diff) |
tests: Enable config override for tests
Some tests require to change kconfig symbols values to cover the code.
This patch enables one to set these vaues using <test-name>-config
variable.
Example for integer values.
timestamp-test-config += CONFIG_HAVE_MONOTONIC_TIMER=1
Example for string values. Notice escaped quotes.
spd_cache-test-config += CONFIG_SPD_CACHE_FMAP_NAME=\"SPD_CACHE_FMAP_NAME\"
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I1aeb78362c2609fbefbfd91c0f58ec19ed258ee1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52937
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests/lib/dimm_info_util-test.c')
0 files changed, 0 insertions, 0 deletions