coreboot-kgpe-d16/tests
Julius Werner c90d406008 tests: Disable -Wmain-return-type for clang
Unit tests fail on clang 13.0 because Cmocka's main() function is
declared with return type int, but through some of our chain-include
games it sometimes gets coreboot's main_decl.h which declares the
function as void. Compilers have traditionally always been very
laissez-faire about the signature of the main function, but it seems
that clang has been getting more strict by default recently. Explicitly
disable the related warning to shut it up.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I867c9dac659be86e7b7cf4cc41d6fa105aa9ac41
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59815
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
2021-12-07 17:47:35 +00:00
..
acpi tests: Improve test output readability 2021-09-01 19:38:09 +00:00
commonlib tests: Improve test output readability 2021-09-01 19:38:09 +00:00
console tests: Improve test output readability 2021-09-01 19:38:09 +00:00
data/lib/lzma-test tests: Add lib/lzma-test test case 2021-10-14 13:13:07 +00:00
device tests: Improve test output readability 2021-09-01 19:38:09 +00:00
include tests: Add lib/cbfs-lookup-test test case 2021-09-14 23:35:38 +00:00
lib cbfs: Remove deprecated APIs 2021-12-06 12:36:45 +00:00
mock tests: Add lib/cbfs-lookup-test test case 2021-09-14 23:35:38 +00:00
stubs tests/stubs/console: Allow enabling printk to print to stdout 2021-09-13 14:00:57 +00:00
Makefile.inc tests: Disable -Wmain-return-type for clang 2021-12-07 17:47:35 +00:00