[INN-COMMITTERS] inn/tests (runtests.c)

Russ Allbery rra at stanford.edu
Wed Aug 9 20:20:27 UTC 2000


    Date: Wednesday, August 9, 2000 @ 13:20:27
  Author: rra

Update of /dist1/cvs/isc/inn/inn/tests
     from pub3.rc.vix.com:/tmp/cvs-serv4152

Modified: runtests.c

Updated to the latest version:  Made completely stand-alone again so
that this program can easily be incorporated in other projects that
aren't using libinn.  xmalloc, xstrdup, and sysdie included in the
source to remove libinn dependencies.  Switched from concat to xmalloc
plus strcpy/strcat.

Added test_print_range to print out a range of test numbers as a dash-
separated range rather than a comma-separated list of test numbers, and
tied this into both the per-test reporting and the end failure summary.
Added a count of skipped tests on ok results.  Fixed the reporting of
exit status in the failed test summary to print -- if the test case didn't
exit cleanly and otherwise to print just the exit status rather than the
full status int.




More information about the inn-committers mailing list