diff mbox

[1/2] validation: init src files in single directory

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

Commit Message

Christophe Milard April 24, 2015, 12:54 p.m. UTC
The 3 tests for initialisation still generate 3 executables,
but their sources are simply gathered in a single directory called as
the module itself, init.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 test/validation/Makefile.am                 | 6 +++---
 test/validation/{ => init}/odp_init.c       | 0
 test/validation/{ => init}/odp_init_abort.c | 0
 test/validation/{ => init}/odp_init_log.c   | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename test/validation/{ => init}/odp_init.c (100%)
 rename test/validation/{ => init}/odp_init_abort.c (100%)
 rename test/validation/{ => init}/odp_init_log.c (100%)

diff --git a/test/validation/odp_init.c b/test/validation/init/odp_init.c
similarity index 100%
rename from test/validation/odp_init.c
rename to test/validation/init/odp_init.c
diff --git a/test/validation/odp_init_abort.c b/test/validation/init/odp_init_abort.c
similarity index 100%
rename from test/validation/odp_init_abort.c
rename to test/validation/init/odp_init_abort.c
diff --git a/test/validation/odp_init_log.c b/test/validation/init/odp_init_log.c
similarity index 100%
rename from test/validation/odp_init_log.c
rename to test/validation/init/odp_init_log.c

Comments

Mike Holmes April 24, 2015, 5:51 p.m. UTC | #1
On 24 April 2015 at 08:54, Christophe Milard <christophe.milard@linaro.org>
wrote:

> The 3 tests for initialisation still generate 3 executables,
> but their sources are simply gathered in a single directory called as
> the module itself, init.
>
> Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
>

Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  test/validation/Makefile.am                 | 6 +++---
>  test/validation/{ => init}/odp_init.c       | 0
>  test/validation/{ => init}/odp_init_abort.c | 0
>  test/validation/{ => init}/odp_init_log.c   | 0
>  4 files changed, 3 insertions(+), 3 deletions(-)
>  rename test/validation/{ => init}/odp_init.c (100%)
>  rename test/validation/{ => init}/odp_init_abort.c (100%)
>  rename test/validation/{ => init}/odp_init_log.c (100%)
>
> diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
> index 6bac101..7ea86c4 100644
> --- a/test/validation/Makefile.am
> +++ b/test/validation/Makefile.am
> @@ -48,9 +48,9 @@ dist_odp_classification_SOURCES =
> classification/odp_classification_tests.c \
>  odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto
>  dist_odp_crypto_SOURCES = crypto/odp_crypto_test_inp.c \
>                           odp_crypto.c $(ODP_CU_COMMON)
> -dist_odp_init_SOURCES  = odp_init.c
> -dist_odp_init_abort_SOURCES = odp_init_abort.c
> -dist_odp_init_log_SOURCES = odp_init_log.c
> +dist_odp_init_SOURCES  = init/odp_init.c
> +dist_odp_init_abort_SOURCES = init/odp_init_abort.c
> +dist_odp_init_log_SOURCES = init/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)
> diff --git a/test/validation/odp_init.c b/test/validation/init/odp_init.c
> similarity index 100%
> rename from test/validation/odp_init.c
> rename to test/validation/init/odp_init.c
> diff --git a/test/validation/odp_init_abort.c
> b/test/validation/init/odp_init_abort.c
> similarity index 100%
> rename from test/validation/odp_init_abort.c
> rename to test/validation/init/odp_init_abort.c
> diff --git a/test/validation/odp_init_log.c
> b/test/validation/init/odp_init_log.c
> similarity index 100%
> rename from test/validation/odp_init_log.c
> rename to test/validation/init/odp_init_log.c
> --
> 1.9.1
>
>
diff mbox

Patch

diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
index 6bac101..7ea86c4 100644
--- a/test/validation/Makefile.am
+++ b/test/validation/Makefile.am
@@ -48,9 +48,9 @@  dist_odp_classification_SOURCES = classification/odp_classification_tests.c \
 odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto
 dist_odp_crypto_SOURCES = crypto/odp_crypto_test_inp.c \
 			  odp_crypto.c $(ODP_CU_COMMON)
-dist_odp_init_SOURCES	= odp_init.c
-dist_odp_init_abort_SOURCES = odp_init_abort.c
-dist_odp_init_log_SOURCES = odp_init_log.c
+dist_odp_init_SOURCES	= init/odp_init.c
+dist_odp_init_abort_SOURCES = init/odp_init_abort.c
+dist_odp_init_log_SOURCES = init/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)