diff mbox

[RFC-PATCH,3/3] validation: errno: populate lib

Message ID 1437666275-24455-4-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard July 23, 2015, 3:44 p.m. UTC
Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 test/validation/errno/errno.c |  2 +-
 test/validation/errno/errno.h | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c
index 65da40f..9b6b125 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 5923768..88c9704 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 registery: */
+extern CU_SuiteInfo errno_suites[];
+
+/* main test program: */
 int errno_main(void);
 
 #endif