aboutsummaryrefslogtreecommitdiff
path: root/DEPENDENCIES
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2014-10-03 14:50:56 -0400
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-10-08 20:36:58 +0400
commit80421759e6633ca493c5440c31324ce460f850c9 (patch)
tree3c1e85e14fa70dd271b73cbd92824725d6cba5fd /DEPENDENCIES
parent7df90a6f64f620daf653c0462a9ddee9ef6f4935 (diff)
Add cunit test for APIs in odp_init.h
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r--DEPENDENCIES23
1 files changed, 23 insertions, 0 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 3083d09a9..f70a1d4e8 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -75,3 +75,26 @@ Prerequisites for building the OpenDataPlane (ODP) API
$ ./configure --host=aarch64-linux-gnu \
--with-openssl-path=/home/user/src/install-openssl-aarch64
$ make
+
+4.0 Packages needed to build API tests
+
+ Cunit test framework
+ Cunit prvodes a framework to run the API test suite that proves conformance to the
+ ODP API. The home page http://cunit.sourceforge.net/doc/introduction.html
+
+4.1 Native Cunit install
+
+ # Debian/Ubuntu
+ $ apt-get install libcunit1-dev
+
+4.2 Cross compile of Cunit
+
+ $ git svn clone http://svn.code.sf.net/p/cunit/code/trunk cunit-code
+ $ cd cunit-code
+ $ ./bootstrap
+ $ ./configure --host=arm-linux-gnueabihf --prefix=/home/<user>/src/install-cunit
+
+4.3 Using Cunit with ODP
+ $ Add the configuration option to the regular configuration options
+ ./configure --enable-cunit #if cunit is in the PATH
+ ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers