Message ID | 1429882875-31430-2-git-send-email-christophe.milard@linaro.org |
---|---|
State | Superseded |
Headers | show |
bootstrap warnings ... configure.ac:22: installing './config.guess' configure.ac:22: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' example/classifier/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' test/validation/Makefile.am:64: warning: variable 'dist_odp_errno_SOURCES' is defined but no program or test/validation/Makefile.am:64: library has 'odp_errno' as canonical name (possible typo) test/validation/Makefile.am:57: warning: variable 'dist_odp_system_SOURCES' is defined but no program or test/validation/Makefile.am:57: library has 'odp_system' as canonical name (possible typo) On 24 April 2015 at 09:41, Christophe Milard <christophe.milard@linaro.org> wrote: > Created directory for module odp_ver_abt_log_dbg, populated > with file odp_errno.c and odp_system.c which, despite its > confusing name is not testing the system module but the sys* > function of the odp_ver_abt_log_dbg module. > > Signed-off-by: Christophe Milard <christophe.milard@linaro.org> > --- > > same as before. just rebased. > > test/validation/.gitignore | 3 +-- > test/validation/Makefile.am | 9 ++++++--- > test/validation/{ => ver_abt_log_dbg}/odp_errno.c | 5 ----- > test/validation/ver_abt_log_dbg/odp_errno.h | 9 +++++++++ > test/validation/{ => ver_abt_log_dbg}/odp_system.c | 7 ------- > test/validation/ver_abt_log_dbg/odp_system.h | 9 +++++++++ > test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c | 16 > ++++++++++++++++ > 7 files changed, 41 insertions(+), 17 deletions(-) > rename test/validation/{ => ver_abt_log_dbg}/odp_errno.c (81%) > create mode 100644 test/validation/ver_abt_log_dbg/odp_errno.h > rename test/validation/{ => ver_abt_log_dbg}/odp_system.c (93%) > create mode 100644 test/validation/ver_abt_log_dbg/odp_system.h > create mode 100644 test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c > > diff --git a/test/validation/.gitignore b/test/validation/.gitignore > index 05a7424..4bbcea3 100644 > --- a/test/validation/.gitignore > +++ b/test/validation/.gitignore > @@ -1,10 +1,10 @@ > *.log > *.trs > +odp_ver_abt_log_dbg > odp_buffer > odp_classification > odp_cpumask > odp_crypto > -odp_errno > odp_init > odp_init_abort > odp_init_log > @@ -16,7 +16,6 @@ odp_random > odp_scheduler > odp_shared_memory > odp_synchronizers > -odp_system > odp_time > odp_timer > odp_thread > diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am > index 36b0ba8..fe1fd65 100644 > --- a/test/validation/Makefile.am > +++ b/test/validation/Makefile.am > @@ -18,12 +18,11 @@ EXECUTABLES = odp_buffer \ > odp_random \ > odp_scheduler \ > odp_shared_memory \ > - odp_system \ > odp_synchronizers \ > odp_time \ > odp_timer \ > - odp_errno \ > - odp_thread > + odp_thread \ > + odp_ver_abt_log_dbg > > COMPILE_ONLY = odp_packet_io > > @@ -65,3 +64,7 @@ dist_odp_pool_SOURCES = odp_pool.c $(ODP_CU_COMMON) > dist_odp_errno_SOURCES = odp_errno.c $(ODP_CU_COMMON) > dist_odp_cpumask_SOURCES = odp_cpumask.c $(ODP_CU_COMMON) > dist_odp_thread_SOURCES = odp_thread.c $(ODP_CU_COMMON) > +odp_ver_abt_log_dbg_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/ver_abt_log_dbg > +dist_odp_ver_abt_log_dbg_SOURCES = ver_abt_log_dbg/odp_system.c \ > + ver_abt_log_dbg/odp_errno.c \ > + ver_abt_log_dbg/odp_ver_abt_log_dbg.c > $(ODP_CU_COMMON) > diff --git a/test/validation/odp_errno.c > b/test/validation/ver_abt_log_dbg/odp_errno.c > similarity index 81% > rename from test/validation/odp_errno.c > rename to test/validation/ver_abt_log_dbg/odp_errno.c > index 89b99d7..368f26e 100644 > --- a/test/validation/odp_errno.c > +++ b/test/validation/ver_abt_log_dbg/odp_errno.c > @@ -21,8 +21,3 @@ CU_TestInfo test_odp_errno[] = { > {"sunny day", test_odp_errno_sunny_day}, > CU_TEST_INFO_NULL, > }; > - > -CU_SuiteInfo odp_testsuites[] = { > - {"Errno", NULL, NULL, NULL, NULL, test_odp_errno}, > - CU_SUITE_INFO_NULL, > -}; > diff --git a/test/validation/ver_abt_log_dbg/odp_errno.h > b/test/validation/ver_abt_log_dbg/odp_errno.h > new file mode 100644 > index 0000000..80507fa > --- /dev/null > +++ b/test/validation/ver_abt_log_dbg/odp_errno.h > @@ -0,0 +1,9 @@ > +/* Copyright (c) 2015, Linaro Limited > + * All rights reserved. > + * > + * SPDX-License-Identifier: BSD-3-Clause > + */ > + > +#include "odp_cunit_common.h" > + > +extern CU_TestInfo test_odp_errno[]; > diff --git a/test/validation/odp_system.c > b/test/validation/ver_abt_log_dbg/odp_system.c > similarity index 93% > rename from test/validation/odp_system.c > rename to test/validation/ver_abt_log_dbg/odp_system.c > index 94ee712..1a40957 100644 > --- a/test/validation/odp_system.c > +++ b/test/validation/ver_abt_log_dbg/odp_system.c > @@ -92,10 +92,3 @@ CU_TestInfo test_odp_system[] = { > {"odp_sys_cpu_hz", test_odp_sys_cpu_hz}, > CU_TEST_INFO_NULL, > }; > - > -CU_SuiteInfo odp_testsuites[] = { > - {"System Info", NULL, NULL, NULL, NULL, > - test_odp_system}, > - CU_SUITE_INFO_NULL, > -}; > - > diff --git a/test/validation/ver_abt_log_dbg/odp_system.h > b/test/validation/ver_abt_log_dbg/odp_system.h > new file mode 100644 > index 0000000..ce99bed > --- /dev/null > +++ b/test/validation/ver_abt_log_dbg/odp_system.h > @@ -0,0 +1,9 @@ > +/* Copyright (c) 2015, Linaro Limited > + * All rights reserved. > + * > + * SPDX-License-Identifier: BSD-3-Clause > + */ > + > +#include "odp_cunit_common.h" > + > +extern CU_TestInfo test_odp_system[]; > diff --git a/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c > b/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c > new file mode 100644 > index 0000000..39a632e > --- /dev/null > +++ b/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c > @@ -0,0 +1,16 @@ > +/* Copyright (c) 2015, Linaro Limited > + * All rights reserved. > + * > + * SPDX-License-Identifier: BSD-3-Clause > + */ > + > +#include <odp.h> > +#include "odp_cunit_common.h" > +#include "odp_errno.h" > +#include "odp_system.h" > + > +CU_SuiteInfo odp_testsuites[] = { > + {"Errno", NULL, NULL, NULL, NULL, test_odp_errno}, > + {"System Info", NULL, NULL, NULL, NULL, test_odp_system}, > + CU_SUITE_INFO_NULL, > +}; > -- > 1.9.1 > >
diff --git a/test/validation/.gitignore b/test/validation/.gitignore index 05a7424..4bbcea3 100644 --- a/test/validation/.gitignore +++ b/test/validation/.gitignore @@ -1,10 +1,10 @@ *.log *.trs +odp_ver_abt_log_dbg odp_buffer odp_classification odp_cpumask odp_crypto -odp_errno odp_init odp_init_abort odp_init_log @@ -16,7 +16,6 @@ odp_random odp_scheduler odp_shared_memory odp_synchronizers -odp_system odp_time odp_timer odp_thread diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am index 36b0ba8..fe1fd65 100644 --- a/test/validation/Makefile.am +++ b/test/validation/Makefile.am @@ -18,12 +18,11 @@ EXECUTABLES = odp_buffer \ odp_random \ odp_scheduler \ odp_shared_memory \ - odp_system \ odp_synchronizers \ odp_time \ odp_timer \ - odp_errno \ - odp_thread + odp_thread \ + odp_ver_abt_log_dbg COMPILE_ONLY = odp_packet_io @@ -65,3 +64,7 @@ dist_odp_pool_SOURCES = odp_pool.c $(ODP_CU_COMMON) dist_odp_errno_SOURCES = odp_errno.c $(ODP_CU_COMMON) dist_odp_cpumask_SOURCES = odp_cpumask.c $(ODP_CU_COMMON) dist_odp_thread_SOURCES = odp_thread.c $(ODP_CU_COMMON) +odp_ver_abt_log_dbg_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/ver_abt_log_dbg +dist_odp_ver_abt_log_dbg_SOURCES = ver_abt_log_dbg/odp_system.c \ + ver_abt_log_dbg/odp_errno.c \ + ver_abt_log_dbg/odp_ver_abt_log_dbg.c $(ODP_CU_COMMON) diff --git a/test/validation/odp_errno.c b/test/validation/ver_abt_log_dbg/odp_errno.c similarity index 81% rename from test/validation/odp_errno.c rename to test/validation/ver_abt_log_dbg/odp_errno.c index 89b99d7..368f26e 100644 --- a/test/validation/odp_errno.c +++ b/test/validation/ver_abt_log_dbg/odp_errno.c @@ -21,8 +21,3 @@ CU_TestInfo test_odp_errno[] = { {"sunny day", test_odp_errno_sunny_day}, CU_TEST_INFO_NULL, }; - -CU_SuiteInfo odp_testsuites[] = { - {"Errno", NULL, NULL, NULL, NULL, test_odp_errno}, - CU_SUITE_INFO_NULL, -}; diff --git a/test/validation/ver_abt_log_dbg/odp_errno.h b/test/validation/ver_abt_log_dbg/odp_errno.h new file mode 100644 index 0000000..80507fa --- /dev/null +++ b/test/validation/ver_abt_log_dbg/odp_errno.h @@ -0,0 +1,9 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "odp_cunit_common.h" + +extern CU_TestInfo test_odp_errno[]; diff --git a/test/validation/odp_system.c b/test/validation/ver_abt_log_dbg/odp_system.c similarity index 93% rename from test/validation/odp_system.c rename to test/validation/ver_abt_log_dbg/odp_system.c index 94ee712..1a40957 100644 --- a/test/validation/odp_system.c +++ b/test/validation/ver_abt_log_dbg/odp_system.c @@ -92,10 +92,3 @@ CU_TestInfo test_odp_system[] = { {"odp_sys_cpu_hz", test_odp_sys_cpu_hz}, CU_TEST_INFO_NULL, }; - -CU_SuiteInfo odp_testsuites[] = { - {"System Info", NULL, NULL, NULL, NULL, - test_odp_system}, - CU_SUITE_INFO_NULL, -}; - diff --git a/test/validation/ver_abt_log_dbg/odp_system.h b/test/validation/ver_abt_log_dbg/odp_system.h new file mode 100644 index 0000000..ce99bed --- /dev/null +++ b/test/validation/ver_abt_log_dbg/odp_system.h @@ -0,0 +1,9 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "odp_cunit_common.h" + +extern CU_TestInfo test_odp_system[]; diff --git a/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c b/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c new file mode 100644 index 0000000..39a632e --- /dev/null +++ b/test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c @@ -0,0 +1,16 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <odp.h> +#include "odp_cunit_common.h" +#include "odp_errno.h" +#include "odp_system.h" + +CU_SuiteInfo odp_testsuites[] = { + {"Errno", NULL, NULL, NULL, NULL, test_odp_errno}, + {"System Info", NULL, NULL, NULL, NULL, test_odp_system}, + CU_SUITE_INFO_NULL, +};
Created directory for module odp_ver_abt_log_dbg, populated with file odp_errno.c and odp_system.c which, despite its confusing name is not testing the system module but the sys* function of the odp_ver_abt_log_dbg module. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- same as before. just rebased. test/validation/.gitignore | 3 +-- test/validation/Makefile.am | 9 ++++++--- test/validation/{ => ver_abt_log_dbg}/odp_errno.c | 5 ----- test/validation/ver_abt_log_dbg/odp_errno.h | 9 +++++++++ test/validation/{ => ver_abt_log_dbg}/odp_system.c | 7 ------- test/validation/ver_abt_log_dbg/odp_system.h | 9 +++++++++ test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c | 16 ++++++++++++++++ 7 files changed, 41 insertions(+), 17 deletions(-) rename test/validation/{ => ver_abt_log_dbg}/odp_errno.c (81%) create mode 100644 test/validation/ver_abt_log_dbg/odp_errno.h rename test/validation/{ => ver_abt_log_dbg}/odp_system.c (93%) create mode 100644 test/validation/ver_abt_log_dbg/odp_system.h create mode 100644 test/validation/ver_abt_log_dbg/odp_ver_abt_log_dbg.c