Message ID | 1437737259-16953-4-git-send-email-christophe.milard@linaro.org |
---|---|
State | New |
Headers | show |
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 --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
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(-)