[Buildroot] [PATCH] gmock: download from github and convert to a cmake-package

Carlos Santos casantos at datacom.ind.br
Thu Sep 8 20:34:01 UTC 2016


> From: "Thomas Petazzoni" <thomas.petazzoni at free-electrons.com>
> To: "Carlos Santos" <casantos at datacom.ind.br>
> Cc: "fabrice fontaine" <fabrice.fontaine at orange.com>, "fontaine fabrice" <fontaine.fabrice at gmail.com>,
> buildroot at buildroot.org
> Sent: Thursday, September 8, 2016 5:14:32 PM
> Subject: Re: [Buildroot] [PATCH] gmock: download from github and convert to a cmake-package

> Hello,
> 
> On Thu, 8 Sep 2016 17:11:48 -0300 (BRT), Carlos Santos wrote:
> 
>> > Why is it the case? As far as I'm aware, it's not currently the case
>> > with the existing packaging.
>> 
>> Because the old gmock distribution (gmock-1.7.0.zip) contained the gtest
>> code, while the new one (gmock-release-1.7.0.tar.gz) does not.
> 
> If the old gmock distribution contained the gtest code, why do we have
> two separate packages for gmock and gtest ?

In the beginning there was gtest, only. We (DATACOM) added gmock last
year, due to the need to support more than a hundred packages in which
we use it to run unit tests.

> In any case, I guess this is a transitional solution, since the final
> goal is to have a single package, right ?

Yes, I think that starting in gtest v. 1.8.0 it will be possible to get
rid of the separated packages.

Carlos Santos (Casantos)
DATACOM, P&D



More information about the buildroot mailing list