]> git.draconx.ca Git - cdecl99.git/commit
tests: Avoid dependency on strtoumax.
authorNick Bowler <nbowler@draconx.ca>
Thu, 28 Dec 2023 06:59:08 +0000 (01:59 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 28 Dec 2023 07:19:08 +0000 (02:19 -0500)
commitd546887cd6d807f258fc4fb2f47a655310e356ba
treee0c47a1c1153d7c240bf218f47ebf572cd44dc21
parent62fa1dac8cf3098d212c0e8f4b3cc2cadaddd4c5
tests: Avoid dependency on strtoumax.

Pretty easy to implement string-to-integer conversion in the tests
now that we have some helpers to do so that can be shared with the
main library code.

There is very little advantage to this change in the test programs,
as the reduced-range fallback is pretty much fine here.  However,
as there are no other users, getting rid of this also allows us to
remove the configure probes for strtoumax and its alternatives.
configure.ac
t/randomdecl.c
t/rendertest.c
t/rng.c
t/test.h
t/testlib.c