Rev: nettle/testsuite/symbols-test:1.3
| 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
+