Commit Graph

22 Commits

Author SHA1 Message Date
Sebastian Pipping
df42f935bf Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Sebastian Pipping
1e243aca3e tests: Show failure location for normal mode output as well 2020-10-25 21:14:18 +01:00
Sebastian Pipping
263c76e324 tests: Make argument -v more useful 2020-10-25 21:14:18 +01:00
Sebastian Pipping
6a7264e383 tests: Report actual failure location 2020-10-25 21:14:09 +01:00
Sebastian Pipping
bd4b55a680 tests: Make check for silence explain itself better 2020-10-25 18:40:38 +01:00
David Loffredo
1ec27cb32f update xmlwf and tests to new UNUSED_P definition
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-16 12:20:00 -04:00
clang-format
d248bbd940 Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Marco Maggi
b306ee963f minicheck.c: Fix volatile variables (#235) 2019-07-28 23:13:56 +02:00
Sebastian Pipping
a704c940a4 Inline copyright headers with C/C++ code where missing (#116) 2017-08-12 21:02:41 +02:00
Sebastian Pipping
7045b040ac tests/minicheck.c: Improve error message display 2017-08-03 21:24:57 +02:00
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