diff mbox

[PATCHv3,03/20] validation: errno: lib populated

Message ID 1438018732-2778-4-git-send-email-christophe.milard@linaro.org
State Accepted
Commit fdd5511bc4faded752c884a4e3eb9eed72e5967e
Headers show

Commit Message

Christophe Milard July 27, 2015, 5:38 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..374a3c9 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