about summary refs log tree commit diff
path: root/support/support_test_verify_impl.c
Commit message (Collapse)AuthorAgeFilesLines
* support: Preserve errno in write_message, TEST_VERIFY and other checksFlorian Weimer2018-01-121-0/+3
| | | | | These facilities could clobber errno, which makes it difficult to write certain checks because a specific order has to be used.
* Update copyright dates with scripts/update-copyrights.Joseph Myers2018-01-011-1/+1
| | | | | | | * All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
* support: Expose TEST_VERIFY_EXIT behavior to GCC optimizersFlorian Weimer2017-06-091-4/+8
| | | | | | | Previously, the implementation would conditionally exit based on the status argument, which GCC did not know about. This leads to false uninitialized variable warnings when data is accessed after a TEST_VERIFY_EXIT failure (from code which would never execute).
* Update copyright dates with scripts/update-copyrights.Joseph Myers2017-01-011-1/+1
|
* support: Use support_record_failure consistentlyFlorian Weimer2016-12-311-1/+1
| | | | | | | | This causes more test programs to link in the support_record_failure function, which triggers an early call to mmap from an ELF constructor, but this should not have side effects intefering with the functionality actually under test (unlike, say, a call to malloc).
* support: Add support for delayed test failure reportingFlorian Weimer2016-12-281-0/+33
The new functions support_record_failure records a test failure, but does not terminate the process. The macros TEST_VERIFY and TEST_VERIFY_EXIT check that a condition is true.