Saturday, May 01, 2021

[new] devel/sharness

This is another port that I need for elliptic curve work in libcrypto.

https://github.com/chriscool/sharness

$ cat pkg/DESCR
Sharness is a portable shell library to write, run, and analyze
automated tests for Unix programs. Since all tests output TAP, the
Test Anything Protocol, they can be run with any TAP harness.

The tests are a bit strange - two are "broken" but expectedly so and
don't tell me that 27 + 2 != 34...

I need gmake only for 'make test', but I don't think it's a big deal.
It's also a bit concerning that a "portable shell library" tests itself
with plenty of bashisms. Be that as it may, it does its job.

No comments:

Post a Comment