[Buildroot] [PATCH 1/1] package/protozero: disable tests

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Apr 23 21:20:43 UTC 2021


On Thu, 22 Apr 2021 20:24:43 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Add a patch to disable tests through the standard BUILD_TESTING variable
> which is already passed by cmake-package.
> 
> While at it, drop protobuf dependency which is only needed for tests
> 
> This will fix a build failure on toolchains without wchar, toolchains
> for sh4 (ICE) or toolchains where gcc is affected by bug 64735.
> 
> Upstream thinks that this is unecessary but no additional feedback was
> received on how we should handle those build failures
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/1cd24b757d87b963c70bc7ff927c6d983d0b142a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...CMakeLists.txt-respect-BUILD_TESTING.patch | 47 +++++++++++++++++++
>  package/protozero/protozero.mk                |  4 --
>  2 files changed, 47 insertions(+), 4 deletions(-)
>  create mode 100644 package/protozero/0001-CMakeLists.txt-respect-BUILD_TESTING.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list