coreboot-kgpe-d16/tests
Jakub Czapiga 29faa8a5a2 tests/stubs/console: Allow enabling printk to print to stdout
By adding TEST_PRINT=1 to <test-name>-config field or by passing it as
a parameter to make one can enable printing in printk() and vprintk().
This can be helpful when developing unit tests.
Note, that to effectively enable or disable printk() printing to stdout,
test(s) have to be recompiled.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: Ibdec8bb128f42ba4d9cb8bbb4a8c5159a2b52ac5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57526
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
2021-09-13 14:00:57 +00:00
..
acpi tests: Improve test output readability 2021-09-01 19:38:09 +00:00
commonlib tests: Improve test output readability 2021-09-01 19:38:09 +00:00
console tests: Improve test output readability 2021-09-01 19:38:09 +00:00
device tests: Improve test output readability 2021-09-01 19:38:09 +00:00
include tests: Add lib/cbfs-verification-test test case 2021-09-02 00:31:02 +00:00
lib tests: Add lib/cbfs-verification-test test case 2021-09-02 00:31:02 +00:00
mock tests: Add lib/cbfs-verification-test test case 2021-09-02 00:31:02 +00:00
stubs tests/stubs/console: Allow enabling printk to print to stdout 2021-09-13 14:00:57 +00:00
Makefile.inc tests/stubs/console: Allow enabling printk to print to stdout 2021-09-13 14:00:57 +00:00