mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 01:34:19 +01:00
Fix check-names.sh
This commit is contained in:
parent
5b871285f5
commit
ce3cb64aeb
@ -26,10 +26,11 @@ tests/scripts/list-symbols.sh
|
|||||||
FAIL=0
|
FAIL=0
|
||||||
|
|
||||||
printf "\nExported symbols declared in header: "
|
printf "\nExported symbols declared in header: "
|
||||||
diff exported-symbols identifiers | sed -n -e 's/^< //p' > undeclared
|
UNDECLARED=$(diff exported-symbols identifiers | sed -n -e 's/^< //p') > undeclared
|
||||||
|
|
||||||
FILTERED=$( diff tests/scripts/whitelist undeclared | sed -n -e 's/^< //p')
|
FILTERED=$( diff tests/scripts/whitelist undeclared | sed -n -e 's/^< //p')
|
||||||
|
|
||||||
|
if [ "x$UNDECLARED" != "x" ]; then
|
||||||
if [ "x$FILTERED" = "x" ]; then
|
if [ "x$FILTERED" = "x" ]; then
|
||||||
echo "PASS"
|
echo "PASS"
|
||||||
else
|
else
|
||||||
@ -37,6 +38,9 @@ else
|
|||||||
echo "$FILTERED"
|
echo "$FILTERED"
|
||||||
FAIL=1
|
FAIL=1
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "PASS"
|
||||||
|
fi
|
||||||
|
|
||||||
diff macros identifiers | sed -n -e 's/< //p' > actual-macros
|
diff macros identifiers | sed -n -e 's/< //p' > actual-macros
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user