Add test script check-names.sh

This commit is contained in:
Manuel Pégourié-Gonnard 2015-04-09 10:47:44 +02:00
parent d1ddd29e81
commit e137ea6f64
5 changed files with 60 additions and 54 deletions

View file

@ -7,7 +7,7 @@ if [ -d include/mbedtls ]; then :; else
exit 1
fi
HEADERS=$( ls include/mbedtls/*.h )
HEADERS=$( ls include/mbedtls/*.h | egrep -v 'compat-1\.3\.h' )
sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
| egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \