summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-12-08 11:50:47 +0100
committerMartin L Roth <gaumless@gmail.com>2022-12-17 20:30:45 +0000
commit3088e43a5afb27e678c71f86f09edcd5fe71f471 (patch)
treeeb20a54badf9b6298222f9796baf97b10b71e8c3 /tests
parente744ba643daddf4196c5b012b9c9ebde6ab8cb33 (diff)
tests/Makefile.common: Describe available test attributes
Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I8ce702b4be254e206e2018deabde985b56cc6cd3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70475 Reviewed-by: Jan Dabros <jsd@semihalf.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.common7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common
index 175587a911..8277d5f057 100644
--- a/tests/Makefile.common
+++ b/tests/Makefile.common
@@ -66,6 +66,13 @@ TEST_CFLAGS += -fno-pie -fno-pic
TEST_LDFLAGS += -no-pie
# Extra attributes for unit tests, declared per test
+# srcs - sources linked with coreboot libc symbols
+# syssrcs - sources linked with system libc, no coreboot includes
+# cflags - attribute with additional CFLAGS
+# config - Kconfig and defines override (`gcc -D` style)
+# mocks - list of symbols to mock
+# no_test_framework - set to `1` not to link test framework
+# stage - name of stage e.g. romstage, bootblock, etc.
attributes := srcs syssrcs cflags config mocks no_test_framework stage
# Copy attributes of one test to another.