diff mbox

[2/2] example/ipsec: add .sh for valgrind to skip

Message ID 1468596534-14528-2-git-send-email-mike.holmes@linaro.org
State New
Headers show

Commit Message

Mike Holmes July 15, 2016, 3:28 p.m. UTC
Suggested-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

---
 example/ipsec/Makefile.am                              | 18 +++++++++---------
 .../{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh}    |  0
 .../{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh}  |  0
 ...{odp_ipsec_run_both_in => odp_ipsec_run_both_in.sh} |  0
 ...dp_ipsec_run_both_out => odp_ipsec_run_both_out.sh} |  0
 .../{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh}  |  0
 ...{odp_ipsec_run_esp_out => odp_ipsec_run_esp_out.sh} |  0
 .../{odp_ipsec_run_live => odp_ipsec_run_live.sh}      |  0
 .../{odp_ipsec_run_router => odp_ipsec_run_router.sh}  |  0
 .../{odp_ipsec_run_simple => odp_ipsec_run_simple.sh}  |  0
 10 files changed, 9 insertions(+), 9 deletions(-)
 rename example/ipsec/{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_both_in => odp_ipsec_run_both_in.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_both_out => odp_ipsec_run_both_out.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_esp_out => odp_ipsec_run_esp_out.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_live => odp_ipsec_run_live.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_router => odp_ipsec_run_router.sh} (100%)
 rename example/ipsec/{odp_ipsec_run_simple => odp_ipsec_run_simple.sh} (100%)

-- 
2.7.4

Comments

Maxim Uvarov July 18, 2016, 8:41 a.m. UTC | #1
you need to declare scripts extensions so that valgrind will start skip 
checks on scripts. I.e.:

TEST_EXTENSIONS = .sh

Maxim.

On 07/15/16 18:28, Mike Holmes wrote:
> Suggested-by: Maxim Uvarov <maxim.uvarov@linaro.org>

> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

> ---

>   example/ipsec/Makefile.am                              | 18 +++++++++---------

>   .../{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh}    |  0

>   .../{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh}  |  0

>   ...{odp_ipsec_run_both_in => odp_ipsec_run_both_in.sh} |  0

>   ...dp_ipsec_run_both_out => odp_ipsec_run_both_out.sh} |  0

>   .../{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh}  |  0

>   ...{odp_ipsec_run_esp_out => odp_ipsec_run_esp_out.sh} |  0

>   .../{odp_ipsec_run_live => odp_ipsec_run_live.sh}      |  0

>   .../{odp_ipsec_run_router => odp_ipsec_run_router.sh}  |  0

>   .../{odp_ipsec_run_simple => odp_ipsec_run_simple.sh}  |  0

>   10 files changed, 9 insertions(+), 9 deletions(-)

>   rename example/ipsec/{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_both_in => odp_ipsec_run_both_in.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_both_out => odp_ipsec_run_both_out.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_esp_out => odp_ipsec_run_esp_out.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_live => odp_ipsec_run_live.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_router => odp_ipsec_run_router.sh} (100%)

>   rename example/ipsec/{odp_ipsec_run_simple => odp_ipsec_run_simple.sh} (100%)

>

> diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am

> index 01ccd42..6aa109d 100644

> --- a/example/ipsec/Makefile.am

> +++ b/example/ipsec/Makefile.am

> @@ -15,15 +15,15 @@ noinst_HEADERS = \

>   		  $(top_srcdir)/example/example_debug.h

>   

>   dist_bin_SCRIPTS = \

> -		   $(srcdir)/odp_ipsec_run_ah_in \

> -		   $(srcdir)/odp_ipsec_run_ah_out \

> -		   $(srcdir)/odp_ipsec_run_both_in \

> -		   $(srcdir)/odp_ipsec_run_both_out \

> -		   $(srcdir)/odp_ipsec_run_esp_in \

> -		   $(srcdir)/odp_ipsec_run_esp_out \

> -		   $(srcdir)/odp_ipsec_run_live \

> -		   $(srcdir)/odp_ipsec_run_router \

> -		   $(srcdir)/odp_ipsec_run_simple

> +		   $(srcdir)/odp_ipsec_run_ah_in.sh \

> +		   $(srcdir)/odp_ipsec_run_ah_out.sh \

> +		   $(srcdir)/odp_ipsec_run_both_in.sh\

> +		   $(srcdir)/odp_ipsec_run_both_out.sh \

> +		   $(srcdir)/odp_ipsec_run_esp_in.sh \

> +		   $(srcdir)/odp_ipsec_run_esp_out.sh \

> +		   $(srcdir)/odp_ipsec_run_live.sh \

> +		   $(srcdir)/odp_ipsec_run_router.sh \

> +		   $(srcdir)/odp_ipsec_run_simple.sh

>   

>   dist_odp_ipsec_SOURCES = odp_ipsec.c \

>   			 odp_ipsec_sa_db.c \

> diff --git a/example/ipsec/odp_ipsec_run_ah_in b/example/ipsec/odp_ipsec_run_ah_in.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_ah_in

> rename to example/ipsec/odp_ipsec_run_ah_in.sh

> diff --git a/example/ipsec/odp_ipsec_run_ah_out b/example/ipsec/odp_ipsec_run_ah_out.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_ah_out

> rename to example/ipsec/odp_ipsec_run_ah_out.sh

> diff --git a/example/ipsec/odp_ipsec_run_both_in b/example/ipsec/odp_ipsec_run_both_in.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_both_in

> rename to example/ipsec/odp_ipsec_run_both_in.sh

> diff --git a/example/ipsec/odp_ipsec_run_both_out b/example/ipsec/odp_ipsec_run_both_out.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_both_out

> rename to example/ipsec/odp_ipsec_run_both_out.sh

> diff --git a/example/ipsec/odp_ipsec_run_esp_in b/example/ipsec/odp_ipsec_run_esp_in.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_esp_in

> rename to example/ipsec/odp_ipsec_run_esp_in.sh

> diff --git a/example/ipsec/odp_ipsec_run_esp_out b/example/ipsec/odp_ipsec_run_esp_out.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_esp_out

> rename to example/ipsec/odp_ipsec_run_esp_out.sh

> diff --git a/example/ipsec/odp_ipsec_run_live b/example/ipsec/odp_ipsec_run_live.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_live

> rename to example/ipsec/odp_ipsec_run_live.sh

> diff --git a/example/ipsec/odp_ipsec_run_router b/example/ipsec/odp_ipsec_run_router.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_router

> rename to example/ipsec/odp_ipsec_run_router.sh

> diff --git a/example/ipsec/odp_ipsec_run_simple b/example/ipsec/odp_ipsec_run_simple.sh

> similarity index 100%

> rename from example/ipsec/odp_ipsec_run_simple

> rename to example/ipsec/odp_ipsec_run_simple.sh
Mike Holmes July 18, 2016, 11:27 a.m. UTC | #2
On 18 July 2016 at 04:41, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> you need to declare scripts extensions so that valgrind will start skip

> checks on scripts. I.e.:

>

> TEST_EXTENSIONS = .sh



Thank you, will add


>

>

> Maxim.

>

>

> On 07/15/16 18:28, Mike Holmes wrote:

>

>> Suggested-by: Maxim Uvarov <maxim.uvarov@linaro.org>

>> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>

>> ---

>>   example/ipsec/Makefile.am                              | 18

>> +++++++++---------

>>   .../{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh}    |  0

>>   .../{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh}  |  0

>>   ...{odp_ipsec_run_both_in => odp_ipsec_run_both_in.sh} |  0

>>   ...dp_ipsec_run_both_out => odp_ipsec_run_both_out.sh} |  0

>>   .../{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh}  |  0

>>   ...{odp_ipsec_run_esp_out => odp_ipsec_run_esp_out.sh} |  0

>>   .../{odp_ipsec_run_live => odp_ipsec_run_live.sh}      |  0

>>   .../{odp_ipsec_run_router => odp_ipsec_run_router.sh}  |  0

>>   .../{odp_ipsec_run_simple => odp_ipsec_run_simple.sh}  |  0

>>   10 files changed, 9 insertions(+), 9 deletions(-)

>>   rename example/ipsec/{odp_ipsec_run_ah_in => odp_ipsec_run_ah_in.sh}

>> (100%)

>>   rename example/ipsec/{odp_ipsec_run_ah_out => odp_ipsec_run_ah_out.sh}

>> (100%)

>>   rename example/ipsec/{odp_ipsec_run_both_in =>

>> odp_ipsec_run_both_in.sh} (100%)

>>   rename example/ipsec/{odp_ipsec_run_both_out =>

>> odp_ipsec_run_both_out.sh} (100%)

>>   rename example/ipsec/{odp_ipsec_run_esp_in => odp_ipsec_run_esp_in.sh}

>> (100%)

>>   rename example/ipsec/{odp_ipsec_run_esp_out =>

>> odp_ipsec_run_esp_out.sh} (100%)

>>   rename example/ipsec/{odp_ipsec_run_live => odp_ipsec_run_live.sh}

>> (100%)

>>   rename example/ipsec/{odp_ipsec_run_router => odp_ipsec_run_router.sh}

>> (100%)

>>   rename example/ipsec/{odp_ipsec_run_simple => odp_ipsec_run_simple.sh}

>> (100%)

>>

>> diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am

>> index 01ccd42..6aa109d 100644

>> --- a/example/ipsec/Makefile.am

>> +++ b/example/ipsec/Makefile.am

>> @@ -15,15 +15,15 @@ noinst_HEADERS = \

>>                   $(top_srcdir)/example/example_debug.h

>>     dist_bin_SCRIPTS = \

>> -                  $(srcdir)/odp_ipsec_run_ah_in \

>> -                  $(srcdir)/odp_ipsec_run_ah_out \

>> -                  $(srcdir)/odp_ipsec_run_both_in \

>> -                  $(srcdir)/odp_ipsec_run_both_out \

>> -                  $(srcdir)/odp_ipsec_run_esp_in \

>> -                  $(srcdir)/odp_ipsec_run_esp_out \

>> -                  $(srcdir)/odp_ipsec_run_live \

>> -                  $(srcdir)/odp_ipsec_run_router \

>> -                  $(srcdir)/odp_ipsec_run_simple

>> +                  $(srcdir)/odp_ipsec_run_ah_in.sh \

>> +                  $(srcdir)/odp_ipsec_run_ah_out.sh \

>> +                  $(srcdir)/odp_ipsec_run_both_in.sh\

>> +                  $(srcdir)/odp_ipsec_run_both_out.sh \

>> +                  $(srcdir)/odp_ipsec_run_esp_in.sh \

>> +                  $(srcdir)/odp_ipsec_run_esp_out.sh \

>> +                  $(srcdir)/odp_ipsec_run_live.sh \

>> +                  $(srcdir)/odp_ipsec_run_router.sh \

>> +                  $(srcdir)/odp_ipsec_run_simple.sh

>>     dist_odp_ipsec_SOURCES = odp_ipsec.c \

>>                          odp_ipsec_sa_db.c \

>> diff --git a/example/ipsec/odp_ipsec_run_ah_in

>> b/example/ipsec/odp_ipsec_run_ah_in.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_ah_in

>> rename to example/ipsec/odp_ipsec_run_ah_in.sh

>> diff --git a/example/ipsec/odp_ipsec_run_ah_out

>> b/example/ipsec/odp_ipsec_run_ah_out.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_ah_out

>> rename to example/ipsec/odp_ipsec_run_ah_out.sh

>> diff --git a/example/ipsec/odp_ipsec_run_both_in

>> b/example/ipsec/odp_ipsec_run_both_in.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_both_in

>> rename to example/ipsec/odp_ipsec_run_both_in.sh

>> diff --git a/example/ipsec/odp_ipsec_run_both_out

>> b/example/ipsec/odp_ipsec_run_both_out.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_both_out

>> rename to example/ipsec/odp_ipsec_run_both_out.sh

>> diff --git a/example/ipsec/odp_ipsec_run_esp_in

>> b/example/ipsec/odp_ipsec_run_esp_in.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_esp_in

>> rename to example/ipsec/odp_ipsec_run_esp_in.sh

>> diff --git a/example/ipsec/odp_ipsec_run_esp_out

>> b/example/ipsec/odp_ipsec_run_esp_out.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_esp_out

>> rename to example/ipsec/odp_ipsec_run_esp_out.sh

>> diff --git a/example/ipsec/odp_ipsec_run_live

>> b/example/ipsec/odp_ipsec_run_live.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_live

>> rename to example/ipsec/odp_ipsec_run_live.sh

>> diff --git a/example/ipsec/odp_ipsec_run_router

>> b/example/ipsec/odp_ipsec_run_router.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_router

>> rename to example/ipsec/odp_ipsec_run_router.sh

>> diff --git a/example/ipsec/odp_ipsec_run_simple

>> b/example/ipsec/odp_ipsec_run_simple.sh

>> similarity index 100%

>> rename from example/ipsec/odp_ipsec_run_simple

>> rename to example/ipsec/odp_ipsec_run_simple.sh

>>

>

>



-- 
Mike Holmes
Technical Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"
diff mbox

Patch

diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
index 01ccd42..6aa109d 100644
--- a/example/ipsec/Makefile.am
+++ b/example/ipsec/Makefile.am
@@ -15,15 +15,15 @@  noinst_HEADERS = \
 		  $(top_srcdir)/example/example_debug.h
 
 dist_bin_SCRIPTS = \
-		   $(srcdir)/odp_ipsec_run_ah_in \
-		   $(srcdir)/odp_ipsec_run_ah_out \
-		   $(srcdir)/odp_ipsec_run_both_in \
-		   $(srcdir)/odp_ipsec_run_both_out \
-		   $(srcdir)/odp_ipsec_run_esp_in \
-		   $(srcdir)/odp_ipsec_run_esp_out \
-		   $(srcdir)/odp_ipsec_run_live \
-		   $(srcdir)/odp_ipsec_run_router \
-		   $(srcdir)/odp_ipsec_run_simple
+		   $(srcdir)/odp_ipsec_run_ah_in.sh \
+		   $(srcdir)/odp_ipsec_run_ah_out.sh \
+		   $(srcdir)/odp_ipsec_run_both_in.sh\
+		   $(srcdir)/odp_ipsec_run_both_out.sh \
+		   $(srcdir)/odp_ipsec_run_esp_in.sh \
+		   $(srcdir)/odp_ipsec_run_esp_out.sh \
+		   $(srcdir)/odp_ipsec_run_live.sh \
+		   $(srcdir)/odp_ipsec_run_router.sh \
+		   $(srcdir)/odp_ipsec_run_simple.sh
 
 dist_odp_ipsec_SOURCES = odp_ipsec.c \
 			 odp_ipsec_sa_db.c \
diff --git a/example/ipsec/odp_ipsec_run_ah_in b/example/ipsec/odp_ipsec_run_ah_in.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_ah_in
rename to example/ipsec/odp_ipsec_run_ah_in.sh
diff --git a/example/ipsec/odp_ipsec_run_ah_out b/example/ipsec/odp_ipsec_run_ah_out.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_ah_out
rename to example/ipsec/odp_ipsec_run_ah_out.sh
diff --git a/example/ipsec/odp_ipsec_run_both_in b/example/ipsec/odp_ipsec_run_both_in.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_both_in
rename to example/ipsec/odp_ipsec_run_both_in.sh
diff --git a/example/ipsec/odp_ipsec_run_both_out b/example/ipsec/odp_ipsec_run_both_out.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_both_out
rename to example/ipsec/odp_ipsec_run_both_out.sh
diff --git a/example/ipsec/odp_ipsec_run_esp_in b/example/ipsec/odp_ipsec_run_esp_in.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_esp_in
rename to example/ipsec/odp_ipsec_run_esp_in.sh
diff --git a/example/ipsec/odp_ipsec_run_esp_out b/example/ipsec/odp_ipsec_run_esp_out.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_esp_out
rename to example/ipsec/odp_ipsec_run_esp_out.sh
diff --git a/example/ipsec/odp_ipsec_run_live b/example/ipsec/odp_ipsec_run_live.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_live
rename to example/ipsec/odp_ipsec_run_live.sh
diff --git a/example/ipsec/odp_ipsec_run_router b/example/ipsec/odp_ipsec_run_router.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_router
rename to example/ipsec/odp_ipsec_run_router.sh
diff --git a/example/ipsec/odp_ipsec_run_simple b/example/ipsec/odp_ipsec_run_simple.sh
similarity index 100%
rename from example/ipsec/odp_ipsec_run_simple
rename to example/ipsec/odp_ipsec_run_simple.sh