aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2016-02-10 16:08:20 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-03-04 13:24:48 +0300
commitf97bdbab49d4ff94ce7cf7427783cdf4e2abfcbd (patch)
treedc6e6db2e1d60b388807bd085d6f0a7ac187bed8 /helper
parent03010c352cc85b20ccba616df12ff3615f82d5bb (diff)
helpers: remove odp_ prefix for tests source files
Prefixed were removed for validation test suite and to be consistent we need to do the same for helpers. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'helper')
-rw-r--r--helper/test/.gitignore10
-rw-r--r--helper/test/Makefile.am24
-rw-r--r--helper/test/chksum.c (renamed from helper/test/odp_chksum.c)0
-rw-r--r--helper/test/parse.c (renamed from helper/test/odp_parse.c)0
-rw-r--r--helper/test/process.c (renamed from helper/test/odp_process.c)3
-rw-r--r--helper/test/table.c (renamed from helper/test/odp_table.c)1
-rw-r--r--helper/test/thread.c (renamed from helper/test/odp_thread.c)3
7 files changed, 21 insertions, 20 deletions
diff --git a/helper/test/.gitignore b/helper/test/.gitignore
index 8f107def9..e2327530e 100644
--- a/helper/test/.gitignore
+++ b/helper/test/.gitignore
@@ -1,7 +1,7 @@
*.trs
*.log
-odp_chksum
-odp_parse
-odp_process
-odp_table
-odp_thread
+chksum
+parse
+process
+table
+thread
diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
index 918638175..656ec7bb8 100644
--- a/helper/test/Makefile.am
+++ b/helper/test/Makefile.am
@@ -5,11 +5,11 @@ AM_LDFLAGS += -static
TESTS_ENVIRONMENT += TEST_DIR=${builddir}
-EXECUTABLES = odp_chksum$(EXEEXT) \
- odp_thread$(EXEEXT) \
- odp_parse$(EXEEXT)\
- odp_process$(EXEEXT)\
- odp_table$(EXEEXT)
+EXECUTABLES = chksum$(EXEEXT) \
+ thread$(EXEEXT) \
+ parse$(EXEEXT)\
+ process$(EXEEXT)\
+ table$(EXEEXT)
COMPILE_ONLY =
@@ -24,10 +24,10 @@ dist_bin_SCRIPTS =
bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY)
-dist_odp_chksum_SOURCES = odp_chksum.c
-dist_odp_thread_SOURCES = odp_thread.c
-odp_thread_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
-dist_odp_parse_SOURCES = odp_parse.c
-dist_odp_process_SOURCES = odp_process.c
-odp_process_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
-dist_odp_table_SOURCES = odp_table.c
+dist_chksum_SOURCES = chksum.c
+dist_thread_SOURCES = thread.c
+thread_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
+dist_process_SOURCES = process.c
+dist_parse_SOURCES = parse.c
+process_LDADD = $(LIB)/libodphelper.la $(LIB)/libodp.la
+dist_table_SOURCES = table.c
diff --git a/helper/test/odp_chksum.c b/helper/test/chksum.c
index 997639614..997639614 100644
--- a/helper/test/odp_chksum.c
+++ b/helper/test/chksum.c
diff --git a/helper/test/odp_parse.c b/helper/test/parse.c
index b5a4ab4dc..b5a4ab4dc 100644
--- a/helper/test/odp_parse.c
+++ b/helper/test/parse.c
diff --git a/helper/test/odp_process.c b/helper/test/process.c
index 796c9be7c..0c73412fb 100644
--- a/helper/test/odp_process.c
+++ b/helper/test/process.c
@@ -53,7 +53,8 @@ int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
cpu = odp_cpumask_first(&cpu_mask);
printf("the first CPU: %i\n", cpu);
- /* reserve cpu 0 for the control plane so remove it from the default mask */
+ /* reserve cpu 0 for the control plane so remove it from
+ * the default mask */
odp_cpumask_clr(&cpu_mask, 0);
num_workers = odp_cpumask_count(&cpu_mask);
(void)odp_cpumask_to_str(&cpu_mask, cpumaskstr, sizeof(cpumaskstr));
diff --git a/helper/test/odp_table.c b/helper/test/table.c
index d20a5a680..3fa87e046 100644
--- a/helper/test/odp_table.c
+++ b/helper/test/table.c
@@ -131,4 +131,3 @@ int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
return 0;
}
-
diff --git a/helper/test/odp_thread.c b/helper/test/thread.c
index 8ab3df1fe..30a2b28e6 100644
--- a/helper/test/odp_thread.c
+++ b/helper/test/thread.c
@@ -54,7 +54,8 @@ int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
cpu = odp_cpumask_first(&cpu_mask);
printf("the first CPU: %i\n", cpu);
- /* reserve cpu 0 for the control plane so remove it from the default mask */
+ /* reserve cpu 0 for the control plane so remove it from
+ * the default mask */
odp_cpumask_clr(&cpu_mask, 0);
num_workers = odp_cpumask_count(&cpu_mask);
(void)odp_cpumask_to_str(&cpu_mask, cpumaskstr, sizeof(cpumaskstr));