summaryrefslogtreecommitdiff
path: root/support/support_test_verify_impl.c
AgeCommit message (Collapse)Author
2018-01-12support: Preserve errno in write_message, TEST_VERIFY and other checksFlorian Weimer
These facilities could clobber errno, which makes it difficult to write certain checks because a specific order has to be used.
2018-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
* 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.
2017-06-09support: Expose TEST_VERIFY_EXIT behavior to GCC optimizersFlorian Weimer
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).
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers
2016-12-31support: Use support_record_failure consistentlyFlorian Weimer
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).
2016-12-28support: Add support for delayed test failure reportingFlorian Weimer
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.