Simplify test

This commit is contained in:
Shahram Najm 2018-05-16 11:05:46 +01:00
parent f65bde0a32
commit 98c19b88c4
1 changed files with 1 additions and 14 deletions

View File

@ -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"