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
commonlib
device
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
Makefile.inc include/rules.h: Add ENV_TEST definition 2021-04-06 06:58:05 +00:00