Hello build bot (Jenkins), Martin Roth, Patrick Georgi, Paul Menzel, Angel Pons, Jan Dabros,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/41045
to look at the new patch set (#4).
Change subject: tests: Add <tests/test.h> wrapper header and fix --gc-sections ......................................................................
tests: Add <tests/test.h> wrapper header and fix --gc-sections
<cmocka.h> requires a few standard headers to be explicitly included before itself or it will throw compilation errors. Having to always include these headers in the right order in every test is cumbersome. Instead, this patch encapsulates the problem in a new <tests/test.h> header that all tests should include (instead of <cmocka.h> directly).
Also fix --gc-sections in the test framework which needs to be passed for linking, not for compiling.
Signed-off-by: Julius Werner jwerner@chromium.org Change-Id: I4284d74c8673708e21a5266eb42f7b9ae19a1b12 --- M tests/Makefile.inc M tests/device/i2c-test.c A tests/include/tests/test.h M tests/lib/string-test.c 4 files changed, 28 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/41045/4