diff mbox

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

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

Commit Message

Christophe Milard July 24, 2015, 11:27 a.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(-)

Comments

Stuart Haslam July 27, 2015, 3:39 p.m. UTC | #1
On Fri, Jul 24, 2015 at 01:27:22PM +0200, Christophe Milard wrote:
> 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 --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: */

s/registrey/registry

Same in the other patches.

> +extern CU_SuiteInfo errno_suites[];
> +
> +/* main test program: */
>  int errno_main(void);
>  
>  #endif
> -- 
> 1.9.1
>
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