diff mbox

[PATCHv5,1/2] validation: rename executable to match modules

Message ID 1430840948-23333-2-git-send-email-christophe.milard@linaro.org
State Accepted
Commit 7da2690a499e95805536a0d7b3fadf64255f97c5
Headers show

Commit Message

Christophe Milard May 5, 2015, 3:49 p.m. UTC
Just the executables whose contents already matched a module have been
renamed. Module names are taken from doxygens defgroup, with
the exepection of pktio, as of Maxims requirement.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 test/validation/.gitignore                          | 4 ++--
 test/validation/Makefile.am                         | 8 ++++----
 test/validation/{odp_schedule.c => odp_scheduler.c} | 3 +--
 test/validation/{odp_shm.c => odp_shared_memory.c}  | 0
 4 files changed, 7 insertions(+), 8 deletions(-)
 rename test/validation/{odp_schedule.c => odp_scheduler.c} (99%)
 rename test/validation/{odp_shm.c => odp_shared_memory.c} (100%)

diff --git a/test/validation/odp_shm.c b/test/validation/odp_shared_memory.c
similarity index 100%
rename from test/validation/odp_shm.c
rename to test/validation/odp_shared_memory.c
diff mbox

Patch

diff --git a/test/validation/.gitignore b/test/validation/.gitignore
index cd27c92..6c15e8a 100644
--- a/test/validation/.gitignore
+++ b/test/validation/.gitignore
@@ -13,8 +13,8 @@  odp_pktio
 odp_pool
 odp_queue
 odp_random
-odp_schedule
-odp_shm
+odp_scheduler
+odp_shared_memory
 odp_synchronizers
 odp_system
 odp_time
diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
index 6bac101..ed2d76d 100644
--- a/test/validation/Makefile.am
+++ b/test/validation/Makefile.am
@@ -16,8 +16,8 @@  EXECUTABLES = odp_buffer \
 	      odp_pool \
 	      odp_queue \
 	      odp_random \
-	      odp_schedule \
-	      odp_shm \
+	      odp_scheduler \
+	      odp_shared_memory \
 	      odp_system \
 	      odp_synchronizers \
 	      odp_time \
@@ -53,8 +53,8 @@  dist_odp_init_abort_SOURCES = odp_init_abort.c
 dist_odp_init_log_SOURCES = odp_init_log.c
 dist_odp_queue_SOURCES	= odp_queue.c $(ODP_CU_COMMON)
 dist_odp_random_SOURCES = odp_random.c $(ODP_CU_COMMON)
-dist_odp_schedule_SOURCES = odp_schedule.c $(ODP_CU_COMMON)
-dist_odp_shm_SOURCES	= odp_shm.c $(ODP_CU_COMMON)
+dist_odp_scheduler_SOURCES = odp_scheduler.c $(ODP_CU_COMMON)
+dist_odp_shared_memory_SOURCES	= odp_shared_memory.c $(ODP_CU_COMMON)
 dist_odp_system_SOURCES = odp_system.c $(ODP_CU_COMMON)
 dist_odp_synchronizers_SOURCES = odp_synchronizers.c $(ODP_CU_COMMON)
 dist_odp_time_SOURCES   = odp_time.c $(ODP_CU_COMMON)
diff --git a/test/validation/odp_schedule.c b/test/validation/odp_scheduler.c
similarity index 99%
rename from test/validation/odp_schedule.c
rename to test/validation/odp_scheduler.c
index b168766..667c16b 100644
--- a/test/validation/odp_schedule.c
+++ b/test/validation/odp_scheduler.c
@@ -757,9 +757,8 @@  static int schd_suite_term(void)
 	}
 
 	pool = odp_pool_lookup(MSG_POOL_NAME);
-	if (odp_pool_destroy(pool) != 0) {
+	if (odp_pool_destroy(pool) != 0)
 		fprintf(stderr, "error: failed to destroy pool\n");
-	}
 
 	return 0;
 }