diff mbox

[PATCHv2] validation: rename executable to match modules

Message ID 1429795146-9602-1-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard April 23, 2015, 1:19 p.m. UTC
Just the executables whose contents already matched a module have been
renamed. Module names are taken from doxygens defgroup

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---

v2 because I forgot .gitignore... :-)

 test/validation/.gitignore                           |  6 +++---
 test/validation/Makefile.am                          | 16 ++++++++--------
 test/validation/{odp_pktio.c => odp_packet_io.c}     |  0
 test/validation/{odp_pktio_run => odp_packet_io_run} |  4 ++--
 test/validation/{odp_schedule.c => odp_scheduler.c}  |  0
 test/validation/{odp_shm.c => odp_shared_memory.c}   |  0
 6 files changed, 13 insertions(+), 13 deletions(-)
 rename test/validation/{odp_pktio.c => odp_packet_io.c} (100%)
 rename test/validation/{odp_pktio_run => odp_packet_io_run} (98%)
 rename test/validation/{odp_schedule.c => odp_scheduler.c} (100%)
 rename test/validation/{odp_shm.c => odp_shared_memory.c} (100%)

diff --git a/test/validation/odp_schedule.c b/test/validation/odp_scheduler.c
similarity index 100%
rename from test/validation/odp_schedule.c
rename to test/validation/odp_scheduler.c
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 01092d1..c7eaa2f 100644
--- a/test/validation/.gitignore
+++ b/test/validation/.gitignore
@@ -9,12 +9,12 @@  odp_init
 odp_init_abort
 odp_init_log
 odp_packet
-odp_pktio
+odp_packet_io
 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 4c28325..bdfef48 100644
--- a/test/validation/Makefile.am
+++ b/test/validation/Makefile.am
@@ -16,23 +16,23 @@  EXECUTABLES = odp_buffer \
 	      odp_pool \
 	      odp_queue \
 	      odp_random \
-	      odp_schedule \
-	      odp_shm \
+	      odp_scheduler \
+	      odp_shared_memory \
 	      odp_system \
 	      odp_synchronizers \
 	      odp_time \
 	      odp_timer \
 	      odp_errno
 
-COMPILE_ONLY = odp_pktio
+COMPILE_ONLY = odp_packet_io
 
-TESTSCRIPTS = odp_pktio_run
+TESTSCRIPTS = odp_packet_io_run
 
 if test_vald
 TESTS = $(EXECUTABLES) $(TESTSCRIPTS)
 endif
 
-dist_bin_SCRIPTS = odp_pktio_run
+dist_bin_SCRIPTS = odp_packet_io_run
 
 bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY)
 
@@ -52,13 +52,13 @@  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)
 dist_odp_timer_SOURCES  = odp_timer.c $(ODP_CU_COMMON)
-dist_odp_pktio_SOURCES	= odp_pktio.c $(ODP_CU_COMMON)
+dist_odp_packet_io_SOURCES	= odp_packet_io.c $(ODP_CU_COMMON)
 dist_odp_packet_SOURCES = odp_packet.c $(ODP_CU_COMMON)
 dist_odp_pool_SOURCES = odp_pool.c $(ODP_CU_COMMON)
 dist_odp_errno_SOURCES = odp_errno.c $(ODP_CU_COMMON)
diff --git a/test/validation/odp_pktio.c b/test/validation/odp_packet_io.c
similarity index 100%
rename from test/validation/odp_pktio.c
rename to test/validation/odp_packet_io.c
diff --git a/test/validation/odp_pktio_run b/test/validation/odp_packet_io_run
similarity index 98%
rename from test/validation/odp_pktio_run
rename to test/validation/odp_packet_io_run
index b6a72c7..73efdca 100755
--- a/test/validation/odp_pktio_run
+++ b/test/validation/odp_packet_io_run
@@ -61,7 +61,7 @@  run_test()
 		if [ "$disabletype" != "SKIP" ]; then
 			export ODP_PKTIO_DISABLE_SOCKET_${distype}=y
 		fi
-		odp_pktio
+		odp_packet_io
 		if [ $? -ne 0 ]; then
 			ret=1
 		fi
@@ -78,7 +78,7 @@  run()
 {
 	if [ "$ODP_PLATFORM" != "linux-generic" -o "$(id -u)" != "0" ]; then
 		echo "pktio: using 'loop' device"
-		odp_pktio
+		odp_packet_io
 		exit $?
 	fi