From 98c19b88c4959f7e5855b07bec23d735d0f27f8d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 16 May 2018 11:05:46 +0100 Subject: [PATCH] Simplify test --- tests/grib_ccsds.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/grib_ccsds.sh b/tests/grib_ccsds.sh index 83e52aa73..b00f3a3a1 100755 --- a/tests/grib_ccsds.sh +++ b/tests/grib_ccsds.sh @@ -12,24 +12,11 @@ REDIRECT=/dev/null -# First check if Adaptive Entropy Coding (AEC) feature is enabled -skip_test=0 +# Disable if autotools being used src_config=${src_dir}/config.h if [ -f ${src_config} ]; then - set +e - grep '#undef HAVE_LIBAEC' ${src_config} >/dev/null - status=$? - set -e - if [ $status -eq 0 ]; then - # Found the string so feature is disabled - skip_test=1 - fi -fi -if [ $skip_test -eq 1 ]; then - #echo "AEC feature was not enabled. Skipping this test." exit 0 fi -echo "AEC feature was enabled." BLACKLIST="totalLength,section5Length,section7Length,dataRepresentationTemplateNumber"