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

(TS_SH): New test case symbols-test.

(EXTRA_PROGRAMS): Added testutils, as a kludge to
get automake to track dependencies for testutils.o.

Rev: src/nettle/testsuite/
Rev: src/nettle/testsuite/symbols-test:1.1
parent 14a43c29
......@@ -19,17 +19,20 @@ TS_PROGS = aes-test arcfour-test blowfish-test cast128-test \
dsa-test dsa-keygen-test \
TS_SH = sexp-conv-test
TS_SH = sexp-conv-test symbols-test
# Workaround to get automake to keep dependencies for testutils.o
EXTRA_PROGRAMS = testutils
# libnettle.a is added at the end to make sure all programs depend on it.
# It seems there's no DEPENDENCIES variable that affects all programs.
LDADD = testutils.o -lnettle ../libnettle.a
EXTRA_DIST = $(TS_SH) testutils.c testutils.h \
EXTRA_DIST = $(TS_SH) testutils.h \
run-tests rfc1750.txt
CLEANFILES = test1.out test2.out
#! /bin/sh
# Check that all exported symbols use the nettle prefix.
if [ -z "$srcdir" ] ; then
nm ../libnettle.a | grep ' [DRT] ' | egrep -v ' _?nettle_|memxor' \
| sort -k3 > test1.out
if [ -s test1.out ] ; then
echo Exported symbols lacking the nettle prefix:
cat test1.out
exit 1
exit 0
Supports Markdown
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