diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-11-12 12:10:36 +0000 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-11-23 23:38:09 +0000 |
commit | 162083072eb42b3607208c2cf80ebb2695ac2217 (patch) | |
tree | 9120eda419dcc85ae8372edaab15148fb7e32c40 /payloads/libpayload | |
parent | 72628fa813231cb5af6a5aa373e184d2fd8a9509 (diff) |
libpayload/tests: remove tests/include/mocks include path
Some files in tests/include/mocks might have the same name as main
libpayload include files. Remove this path from default includes to
force addition of mocks/ prefix in include paths. This will help
avoiding name clashes and will also make mock headers visible.
Change-Id: I4baa07472f0379d56423cf7152b1ecc9a4824539
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59493
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/tests/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.inc index 9ae84426b8..e4babb1dd3 100644 --- a/payloads/libpayload/tests/Makefile.inc +++ b/payloads/libpayload/tests/Makefile.inc @@ -37,7 +37,7 @@ TEST_CFLAGS += -Iinclude -Iinclude/mock TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER)) # Test specific includes -TEST_CFLAGS += -I$(testsrc)/include -I$(testsrc)/include/mocks +TEST_CFLAGS += -I$(testsrc)/include TEST_CFLAGS += -I$(cmockasrc)/include # Minimal subset of warnings and errors. Tests can be less strict than actual build. |