From: Jens Neuhalfen Content-Type: multipart/alternative; boundary="Apple-Mail=_EB352927-416A-4538-BA5A-63ADFB98979C" Message-Id: <6A66E826-C5AA-461C-A961-EA535BF5BC0C@...2127...> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Date: Fri, 29 Apr 2016 10:36:05 +0200 References: <69E74833-0AD6-4FC4-A17F-FCD19BD0256A@...2127...> In-Reply-To: <69E74833-0AD6-4FC4-A17F-FCD19BD0256A@...2127...> Subject: Re: [Openvpn-devel] Request for comment: Adding unit tests to openvpn List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel --Apple-Mail=_EB352927-416A-4538-BA5A-63ADFB98979C Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi everybody, in order to keep my local master branch clean, I put the code into a dedica= ted branch (and also did some polishing). Unfortunately, github won=E2=80=99t allow me to change this in the pull req= uest. Without further ado, please have a look at the revised pull request: https:= //github.com/OpenVPN/openvpn/pull/44 As always: I=E2=80=99ll send the patches to the list, after I got some comm= ents (or per request).=20 Cheers Jens > On 27 Apr 2016, at 20:55, Jens Neuhalfen wrote: >=20 > Hi, >=20 > I put together a set of patches that add unit testing support for openvpn= . To make comments easier I put them together as pull request on github. >=20 > Please review the patch and point out points of improvement. After that I= will post the =E2=80=9Creal=E2=80=9D patches to the list. >=20 > https://github.com/OpenVPN/openvpn/pull/43 >=20 > This set of patches adds unit test support to openvpn. The test framework= used is cmocka > cmocka source is added as submodule in vendor because a package depenency= is not feasible (e.g. not available on all platforms) > cmocka is automatically build during make check. > the patchset contains tests for searchandreplace as an example > Tested on MacOS & Ubuntu Trusty >=20 > CAVE: >=20 > cmocka needs cmake to be installed >=20 >=20 > Cheers=20 > Jens > -------------------------------------------------------------------------= ----- > Find and fix application performance issues faster with Applications Mana= ger > Applications Manager provides deep performance insights into multiple tie= rs of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_________________= ______________________________ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel --Apple-Mail=_EB352927-416A-4538-BA5A-63ADFB98979C Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi everybody,

in order to keep my local m= aster branch clean, I put the code into a dedicated branch (and also did so= me polishing).

Un= fortunately, github won=E2=80=99t allow me to change this in the pull reque= st.

Without furth= er ado, please have a look at the revised pull request: https://github.com/Open= VPN/openvpn/pull/44

As always: I=E2=80=99ll send the patches to the list, after I got so= me comments (or per request). 

Cheers
Jens

On 27 Apr 2016, at 20:55, Jens Neuhalfen &= lt;openvpn-devel@...493...= 2127...> wrote:

Hi,=

I put together a= set of patches that add unit testing support for openvpn. To make comments= easier I put them together as pull request on github.

Please review the patch and point out= points of improvement. After that I will post the =E2=80=9Creal=E2=80=9D p= atches to the list.


This set of patches adds unit test support to openvpn. The test fram= ework used is cmocka

  • cmocka source is added as submodule in vendor&= nbsp;because a package depenency is not feasible (e.g. not available on all= platforms)
  • cmocka is = automatically build during make check.
  • the patchset contains tests for&nbs= p;searchandreplace as an example

Tested on MacOS & Ubuntu Trusty<= /p>

CAVE:

  • cmocka needs cmake to be installed
  • <= /ul>


Cheers 
Jens
----------------------= --------------------------------------------------------
Find= and fix application performance issues faster with Applications ManagerApplications Manager provides deep performance insights into mu= ltiple tiers of
your business applications. It resolves appli= cation problems quickly and
reduces your MTTR. Get your free = trial!
ht= tps://ad.doubleclick.net/ddm/clk/302982198;130105516;z_____________________= __________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.= sourceforge.net/lists/listinfo/openvpn-devel

= --Apple-Mail=_EB352927-416A-4538-BA5A-63ADFB98979C--