aboutsummaryrefslogtreecommitdiff
path: root/support/support_test_verify_impl.c
AgeCommit message (Collapse)Author
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.