aboutsummaryrefslogtreecommitdiff
path: root/DEPENDENCIES
diff options
context:
space:
mode:
authorStuart Haslam <stuart.haslam@linaro.org>2015-11-19 10:22:29 +0000
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-11-20 17:18:53 +0300
commit605ed61bc0ecb885ff616e7ba4881d1a80cd9b3c (patch)
treea257f09e38e4011efe7b310858345b2272bc70a4 /DEPENDENCIES
parent718a41175705969676cc9f230875d634024ee4b0 (diff)
validation: remove strict dependency on CUnit 2.1-3
This makes it a bit easier to get a new system set up for running the unit tests. There has always been a dependency on using a version of CUnit >= 2.1-3, using an older version would result in an error: error: initialization discards ‘const’ qualifier from pointer target type [-Werror] caused by CUnit's CU_TestInfo structure taking a char * for the test name rather than a const char *, and we always pass string literals as names. Version 2.1-3 of CUnit changed this but that's still not packaged with most distributions so we end up needing to build it from source most of the time. We now don't use the CU_TestInfo structure directly in any of our tests so a couple of small changes in the common code make the issue go away. Tested with CUnit versions 2.1-2.dfsg-1 (packaged with Ubuntu 14.04) and 2.1-3 (which most people will still be using). Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> Reviewed-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r--DEPENDENCIES2
1 files changed, 1 insertions, 1 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 341fe696b..fec65d2ba 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -162,7 +162,7 @@ Prerequisites for building the OpenDataPlane (ODP) API
4.1 Native Cunit install
- # Debian/Ubuntu check it is 2.1-3
+ # Debian/Ubuntu
$ apt-get install libcunit1-dev
4.2 Built from src