diff options
author | Zoltan Kiss <zoltan.kiss@linaro.org> | 2015-08-04 17:18:41 +0100 |
---|---|---|
committer | Zoltan Kiss <zoltan.kiss@linaro.org> | 2015-08-04 17:18:41 +0100 |
commit | f72f9c3b54293ac587de816b0b3fbc50005c1426 (patch) | |
tree | 8bd4811b9f18add159e053177cb48131febab2f8 /test/validation/errno | |
parent | b7bb9f3b117e59a2bd144af3f1c3465dbe636766 (diff) | |
parent | 3b09d8928f599c80cae0aa46be8db8ccaf5d800a (diff) |
Merge branch 'master' of https://git.linaro.org/lng/odpv1.2.0.0_DPDK_2.0.0
Diffstat (limited to 'test/validation/errno')
-rw-r--r-- | test/validation/errno/errno.c | 3 | ||||
-rw-r--r-- | test/validation/errno/errno.h | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c index ac1d93caf..9b6b125aa 100644 --- a/test/validation/errno/errno.c +++ b/test/validation/errno/errno.c @@ -6,8 +6,9 @@ #include <odp.h> #include "odp_cunit_common.h" +#include "errno.h" -static void errno_test_odp_errno_sunny_day(void) +void errno_test_odp_errno_sunny_day(void) { int my_errno; diff --git a/test/validation/errno/errno.h b/test/validation/errno/errno.h index 592376838..374a3c96a 100644 --- a/test/validation/errno/errno.h +++ b/test/validation/errno/errno.h @@ -7,6 +7,18 @@ #ifndef _ODP_TEST_ERRNO_H_ #define _ODP_TEST_ERRNO_H_ +#include <CUnit/Basic.h> + +/* test functions: */ +void errno_test_odp_errno_sunny_day(void); + +/* test arrays: */ +extern CU_TestInfo errno_suite[]; + +/* test registry: */ +extern CU_SuiteInfo errno_suites[]; + +/* main test program: */ int errno_main(void); #endif |