Commit eb894161 authored by Niels Möller's avatar Niels Möller
Browse files

Check symbols also in libhogweed.

Rev: nettle/testsuite/symbols-test:1.3
parent e8d6a5f0
......@@ -21,9 +21,22 @@ fi
| sort -k3 > test1.out
if [ -s test1.out ] ; then
echo Exported symbols lacking the nettle prefix:
echo Exported symbols in libnettle.a, lacking the nettle prefix:
cat test1.out
exit 1
else
exit 0
fi
if [ -s ../libhogweed.a ] ; then
( nm -g ../libhogweed.a || nm ../libhogweed.a ) \
| grep ' [DRT] ' | egrep -v '( |^)\.?_?_?nettle_|get_pc_thunk' \
| sort -k3 > test1.out
if [ -s test1.out ] ; then
echo Exported symbols in libhogweed.a, lacking the nettle prefix:
cat test1.out
exit 1
fi
fi
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment