Simon Josefsson <si...@josefsson.org> writes:

> According to the nettle version
> script, internal symbols are exported for self-testing, but I believe it
> should be possible to split up testing into two different ways: 1) write
> self-tests against public APIs,

I think most current tests are of this kind, or can easily be converted
to this kind. But identifying any exceptions needs some investigation.

> 2) write self-tests that uses some internal symbols, and links to a
> differently named library built with all symbols enabled (or just
> directly to the libnettle.a or the *.o files).

I think it's desirably to be able to run all tests linked to the main
.so library files. I can think of some other workarounds though, but the
right choice will depend a bit on which internal symbols actually are
needed for the tests.

Regards,
/Niels
-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to