[git commit] test: ignore undefined symbols for API
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sun Jan 29 14:10:01 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=46aa707fc50415e90b0860258f4f5d78b7b96a7b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
test/API/tst-API.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/API/tst-API.sh b/test/API/tst-API.sh
index 38a3399..3d0302c 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
More information about the uClibc-cvs
mailing list