MIME-Version: 1.0 In-Reply-To: References: <20161121174953.GM28918@...1296...> From: =?UTF-8?B?0JjQu9GM0Y8g0KjQuNC/0LjRhtC40L0=?= Date: Mon, 19 Dec 2016 13:22:35 +0500 Message-ID: Content-Type: multipart/alternative; boundary=089e013c656a3fe4820543fe9fd7 Subject: Re: [Openvpn-devel] https://travis-ci.org/OpenVPN/openvpn/builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "openvpn-devel@lists.sourceforge.net" --089e013c656a3fe4820543fe9fd7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2016-11-27 4:29 GMT+05:00 David Sommerseth < openvpn@...2080...>: > On 26/11/16 12:32, =D0=98=D0=BB=D1=8C=D1=8F =D0=A8=D0=B8=D0=BF=D0=B8=D1= =86=D0=B8=D0=BD wrote: > > > > > > 2016-11-21 22:49 GMT+05:00 Gert Doering > >: > > > > Hi, > > > > On Mon, Nov 21, 2016 at 10:31:45PM +0500, ???????? ?????????????? > wrote: > > > this line > > > > > > https://github.com/OpenVPN/openvpn/blob/master/tests/ > unit_tests/openvpn/Makefile.am#L17 > > unit_tests/openvpn/Makefile.am#L17> > > > > > > causes an error > > > > GNU LD manpage says this is a trick to make it link "another > function" > > "--wrap parse_line" would make it link __wrap_parse_line() instead - > > most likely because @d12fk provided a stub function that mocks the > > result (or whatever). > > > > Have not looked into this in more detail. > > > > > > http://www.mockator.com/projects/mockator/wiki/Wrap_Functions > > > > "Alas, this feature is *only available with the GNU tool chain on > > Linux*. GCC for Mac OS X does not offer the linker flag |-wrap|. " > > > > should we skip those tests on osx ? or someone will rewrite them ? > > I'd hold back a little bit. I know Arne, Heiko and some people from > #cmocka on FreeNode had a discussion about this issue earlier this week. > I don't know what they agreed on, but there was a discussion where they > looked at a few alternatives at least. > any news on that ? > > > -- > kind regards, > > David Sommerseth > OpenVPN Technologies, Inc > > > --089e013c656a3fe4820543fe9fd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2016-11-27 4:29 GMT+05:00 David Sommerseth <openvpn@...2080...>= ;:
On 26/11/16 12= :32, =D0=98=D0=BB=D1=8C=D1=8F =D0=A8=D0=B8=D0=BF=D0=B8=D1=86=D0=B8=D0=BD wr= ote:
>
>
> 2016-11-21 22:49 GMT+05:00 Gert Doering <gert@...1296...
> <mailto:gert@...1296...>>:
>
>=C2=A0 =C2=A0 =C2=A0Hi,
>
>=C2=A0 =C2=A0 =C2=A0On Mon, Nov 21, 2016 at 10:31:45PM +0500, ???????? = ?????????????? wrote:
>=C2=A0 =C2=A0 =C2=A0> this line
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
https://github.com/OpenVPN/openvpn/blob/master/tests/<= wbr>unit_tests/openvpn/Makefile.am#L17
>=C2=A0 =C2=A0 =C2=A0<https://github.com/OpenVPN/openvpn/blob/master/tests/unit_tests/openvpn/Makefile.am#L17>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> causes an error
>
>=C2=A0 =C2=A0 =C2=A0GNU LD manpage says this is a trick to make it link= "another function"
>=C2=A0 =C2=A0 =C2=A0"--wrap parse_line" would make it link __= wrap_parse_line() instead -
>=C2=A0 =C2=A0 =C2=A0most likely because @d12fk provided a stub function= that mocks the
>=C2=A0 =C2=A0 =C2=A0result (or whatever).
>
>=C2=A0 =C2=A0 =C2=A0Have not looked into this in more detail.
>
>
> http://www.mockator.com/proje= cts/mockator/wiki/Wrap_Functions
>
> "Alas, this feature is *only available with the GNU tool c= hain on
> Linux*. GCC for Mac OS X does not offer the linker flag |-wrap|. "= ;
>
> should we skip those tests on osx ? or someone will rewrite them ?

I'd hold back a little bit.=C2=A0 I know Arne, Heiko and some pe= ople from
#cmocka on FreeNode had a discussion about this issue earlier this week.
=C2=A0I don't know what they agreed on, but there was a discussion wher= e they
looked at a few alternatives at least.


<= div>any news on that ?
=C2=A0


--
kind regards,

David Sommerseth
OpenVPN Technologies, Inc



--089e013c656a3fe4820543fe9fd7--