Commit Graph

12 Commits

Author SHA1 Message Date
Sebastian Pipping
483803255d minicheck.c: Protect against potential NULL dereference 2017-07-15 19:14:49 +02:00
Sebastian Pipping
7c82b0b4ab minicheck.c: Rename *_dispose to *_free 2017-07-15 19:07:30 +02:00
Rhodri James
e4bfe3c7d1 Free all the data structures associated with test cases.
Removes some of the memory leaks discovered by AddressSanitizer
in the test suite (see Issue #23)
2017-07-14 17:53:56 +01:00
Rhodri James
643a09d42d Fix misuse of realloc in tcase_add_test() 2017-05-24 19:08:54 +02:00
Sebastian Pipping
69746f5ab2 Address all "unused parameter" warnings 2016-05-07 17:24:35 +02:00
Sebastian Pipping
934bcb0ac6 Address warnings on const correctness 2016-03-28 21:18:29 +02:00
Fred L. Drake, Jr.
60391fb209 if the test reports a failure message, always display it (it was
ignored); it makes no sense to ever hide this, so we don't worry about
the verbosity setting for this
2006-07-01 14:54:06 +00:00
Fred L. Drake, Jr.
3e3b98df8a - suppress compiler warning when the tests are built with C++
- remove non-implemented forking API from minicheck; it is not used, and
  we always use minicheck instead of check
2006-07-01 02:34:50 +00:00
Fred L. Drake, Jr.
e2677da42c make errors reported display more like GCC error messages, so editors
like Emacs can provide functions like "go to next error", etc.
2005-01-28 16:16:14 +00:00
Fred L. Drake, Jr.
99682bfd28 implement verbose mode in minicheck to make it easier to determine which
tests failed
2005-01-28 06:32:31 +00:00
Fred L. Drake, Jr.
1044e5b3e1 - avoid using the "check" library's suite_free() function; it is not
available in all versions of the library, and srunner_free() is
  sufficient
  (closes SF bug #985192)
- avoid some compiler warnings
2004-07-15 22:54:19 +00:00
Fred L. Drake, Jr.
d1df594ca2 If the check library is not available, use an abbreviated implementation of
the check API.  This allows the unit and regression tests to be run on any
system without requiring an external package.
2004-04-30 03:18:11 +00:00