coreboot-kgpe-d16/tests
Jakub Czapiga 084ad93663 include/rules.h: Add ENV_TEST definition
Some functions/macros like assert() require redefinition for testing
purposes. ENV_TEST is introduced to make it possible without using
bypass hacks.
This patch also adds a global __TEST__ define to TEST_CFLAGS for
all test targets in order to enable ENV_TEST.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: Ib8f2932902a73a7dbe181adc82cc18437abb48e8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51803
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2021-04-06 06:58:05 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib tests: Add some basic warnings and fix resulting issues 2020-06-12 19:40:19 +00:00
device device/dram: Add method for converting MHz to MT/s 2020-09-16 03:24:50 +00:00
include tests/include/tests/test.h: Add TEST_REGION_UNALLOCATED 2021-03-28 16:00:01 +00:00
lib tests: Add lib/uuid-test test case 2021-04-06 06:56:47 +00:00
stubs tests: Add lib/edid-test test case 2020-11-10 06:19:10 +00:00
Makefile.inc include/rules.h: Add ENV_TEST definition 2021-04-06 06:58:05 +00:00