diff options
author | Christophe Milard <christophe.milard@linaro.org> | 2015-07-27 19:38:35 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-07-29 16:03:13 +0300 |
commit | fdd5511bc4faded752c884a4e3eb9eed72e5967e (patch) | |
tree | 7ff637af370935e5c45408c4c31ca30a5fec560a /test/validation | |
parent | b9feb72a32e0186f1eb5da309b43891644a1e7f6 (diff) |
validation: errno: lib populated
Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
Reviewed-by: Stuart Haslam <stuart.haslam@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/validation')
-rw-r--r-- | test/validation/errno/errno.c | 2 | ||||
-rw-r--r-- | test/validation/errno/errno.h | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c index 65da40fca..9b6b125aa 100644 --- a/test/validation/errno/errno.c +++ b/test/validation/errno/errno.c @@ -8,7 +8,7 @@ #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 |