On 19/12/16 11:01, Samuli Seppänen wrote:
[...snip...]
> Right now cmocka tests are skipped if
> 
> a) cmocka Git submodule is not initialized
> b) CMake is not installed
> 
> See commit 45f6e7991cf for details.
> 
> Travis logs say this:
> 
> $ git clone --depth=50 --branch=master 
> https://github.com/OpenVPN/openvpn.git OpenVPN/openvpn
> $ git submodule update --init --recursive
> 
> Which means that cmocka Git submodule gets sucked in automatically. So 
> that leaves us with the following options afaics:
> 
> 1) Remove the cmocka directory after the fact (rather nasty)

In deed nasty.  Why not rather detect if it os OSX and skip the 'git
submodule' step?


> 2) Ensure that CMake is not installed on MacOS X (does mbedTLS require 
> this?)

If mbedTLS is built from source, then I believe CMake is needed.


> 3) Allow the user to select if cmocka tests are run or not

Try to avoid adding more options ... rather try to have some reasonable
defaults which is auto-detected based on reasonable triggers (such as
distro/platform)


-- 
kind regards,

David Sommerseth
OpenVPN Technologies, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to