aboutsummaryrefslogtreecommitdiff
path: root/DEPENDENCIES
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2014-12-18 12:36:38 -0500
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-12-30 12:17:58 +0300
commit20922d9d5bac04fd88231b2b21467f720c66071c (patch)
tree30849768f46bee7f2b22511bc4fd934cfd0892df /DEPENDENCIES
parentfcb2c9cb40ed5524b6c9915d09221b89e01de2ce (diff)
DEPENDENCIES: Update CUnit instructions
Add the required version of CUnit and provide better install instructions. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r--DEPENDENCIES20
1 files changed, 15 insertions, 5 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 62e703da..e2052bb5 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -78,23 +78,33 @@ Prerequisites for building the OpenDataPlane (ODP) API
4.0 Packages needed to build API tests
- Cunit test framework
+ Cunit test framework version 2.1-3 is required
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
+ # Debian/Ubuntu check it is 2.1-3
$ apt-get install libcunit1-dev
-4.2 Cross compile of Cunit
+4.2 Built from src
+
+ export CUNIT_VERSION=2.1-3
+ curl -sSOL http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2
+ tar -jxf *.bz2
+ cd CUnit*
+ ./bootstrap
+ make install
+ #In Step 4.4 use --with-cunit-path=/home/${USER}/CUnitHome
+
+4.3 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
+ $ ./configure --host=arm-linux-gnueabihf --prefix=/home/${USER}/src/install-cunit
-4.3 Using Cunit with ODP
+4.4 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