diff options
author | Jens Neuhalfen | 2016-05-25 19:57:55 +0200 |
---|---|---|
committer | David Sommerseth | 2016-05-30 23:03:16 +0200 |
commit | 1739c102a5c7db510f0ae3c125501a3d1ba3e85f (patch) | |
tree | 10dc402a898505c174b83bf6dbe5d0d4e52f8659 /.gitmodules | |
parent | 85f6a2b49db5544732b14ee3f0798e84329d6da1 (diff) | |
download | openvpn-1739c102a5c7db510f0ae3c125501a3d1ba3e85f.zip openvpn-1739c102a5c7db510f0ae3c125501a3d1ba3e85f.tar.gz |
Add unit testing support via cmocka
cmocka [1,2] is a testing framework for C. Adding unit test
capabilities to the openvpn repository will greatly ease the
task of writing correct code.
cmocka source code is added as git submodule in ./vendor. A
submodule approach has been chosen over a classical library
dependency because libcmocka is not available, or only
available in very old versions (e.g. on Ubuntu).
cmocka is build during 'make check' and installed in vendor/dist/.
[1] https://cmocka.org/
[2] https://lwn.net/Articles/558106/
Signed-off-by: Jens Neuhalfen <jens@neuhalfen.name>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20160525175756.56186-2-openvpn-devel@neuhalfen.name>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11725
Signed-off-by: David Sommerseth <dazo@privateinternetaccess.com>
(cherry picked from commit 40cb4cfc5d011102daec61ab39583cba0eeb3077)
Diffstat (limited to '.gitmodules')
-rw-r--r-- | .gitmodules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e9c6388 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "vendor/cmocka"] + path = vendor/cmocka + url = git://git.cryptomilk.org/projects/cmocka.git + branch = master |