]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: Consolidate error messaging a bit.
authorNick Bowler <nbowler@draconx.ca>
Fri, 5 Jan 2024 04:31:27 +0000 (23:31 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 5 Jan 2024 05:16:03 +0000 (00:16 -0500)
Use a wrapper function in the test applications to print error messages
similar to the main application.  This function automatically prepends
the program name and automatically appends a newline.

This is in preparation to share some code between the main application
and the test suite.  But it also allows the RNG initialization to print
a properly prefixed error message.


No differences found