]> git.draconx.ca Git - cdecl99.git/commit
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)
commitaba6fe8bda05659f70ef0cca07aa02db72f23315
tree04373fa2489683abae77c31e3959876f0813084a
parentd29b70326195354433679efda6e0519b08ab793d
tests: Consolidate error messaging a bit.

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.
t/crossparse.c
t/normalize.c
t/randomdecl.c
t/rendertest.c
t/rng-test.c
t/rng.c
t/scantest.c
t/test.h
t/testlib.c
testsuite.at