From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 14:10:01 +0000 (+0100) Subject: test: ignore undefined symbols for API X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=46aa707fc50415e90b0860258f4f5d78b7b96a7b;p=uclinux-h8%2Fuclibc-ng.git test: ignore undefined symbols for API Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/test/API/tst-API.sh b/test/API/tst-API.sh index 38a339945..3d0302c8e 100755 --- a/test/API/tst-API.sh +++ b/test/API/tst-API.sh @@ -8,8 +8,9 @@ result=0 for l in $top_builddir/lib/lib*-*.so; do \ readelf -D -W -s $l | \ - egrep -v "(UND|LOCAL|^Symbol table for image:|^[[:space:]]*Num[[:space:]])" | \ - $AWK '{print $NF}'; \ + $AWK ' +/^[[:space:]]*[[:digit:]]/ { if ($8 != "UND") print $NF; } +'; \ done | sort | uniq > $uclibc_out for code in $cod; do cat $code.$std.syms; done | sort | uniq > $glibc_out result=0