From e2605533ce80d94608c581d06df60c3a0a1f284f Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 13 Feb 2020 12:38:21 +0000 Subject: [PATCH] Tests: allow run with valgrind --- tests/bpv_limit.sh | 2 +- tests/grib_optimize_scaling.sh | 2 +- tests/grib_sh_ieee64.sh | 2 +- tests/unit_tests.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/bpv_limit.sh b/tests/bpv_limit.sh index 3cfc29906..1b7485fb5 100755 --- a/tests/bpv_limit.sh +++ b/tests/bpv_limit.sh @@ -17,7 +17,7 @@ REDIRECT=/dev/null -./bpv_limit ${data_dir}/regular_latlon_surface.grib2 +$EXEC ./bpv_limit ${data_dir}/regular_latlon_surface.grib2 # TODO: grib1 does not work yet. bpv=64 but decode does not fail as expected #for file in ${data_dir}/regular_latlon_surface.grib?; do diff --git a/tests/grib_optimize_scaling.sh b/tests/grib_optimize_scaling.sh index 22dc2e6dc..875e926ba 100755 --- a/tests/grib_optimize_scaling.sh +++ b/tests/grib_optimize_scaling.sh @@ -15,4 +15,4 @@ if [ $ECCODES_ON_WINDOWS -eq 1 ]; then exit 0 fi -exec $test_dir/grib_optimize_scaling +$EXEC $test_dir/grib_optimize_scaling diff --git a/tests/grib_sh_ieee64.sh b/tests/grib_sh_ieee64.sh index 80b1a4d8d..d6ac527dd 100755 --- a/tests/grib_sh_ieee64.sh +++ b/tests/grib_sh_ieee64.sh @@ -15,4 +15,4 @@ if [ $ECCODES_ON_WINDOWS -eq 1 ]; then exit 0 fi -exec $test_dir/grib_sh_ieee64 +$EXEC $test_dir/grib_sh_ieee64 diff --git a/tests/unit_tests.sh b/tests/unit_tests.sh index dbae5254e..5a8b6905c 100755 --- a/tests/unit_tests.sh +++ b/tests/unit_tests.sh @@ -10,4 +10,4 @@ . ./include.sh -exec ${test_dir}/unit_tests +$EXEC ${test_dir}/unit_tests