]> git.ipfire.org Git - thirdparty/glibc.git/commit - support/support_record_failure.c
support: Add support for delayed test failure reporting
authorFlorian Weimer <fweimer@redhat.com>
Wed, 28 Dec 2016 12:37:18 +0000 (13:37 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 28 Dec 2016 12:37:18 +0000 (13:37 +0100)
commit5f0b84379024787bae24ad20e81d26ab2f082389
tree41c4fdcd00da543528b49cfd4c3e5a9489ba7f85
parent9c30df69c485ba93cdb4428c9bea6da371fb16ef
support: Add support for delayed test failure reporting

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.
ChangeLog
support/Makefile
support/check.h
support/support_record_failure.c [new file with mode: 0644]
support/support_test_main.c
support/support_test_verify_impl.c [new file with mode: 0644]
support/tst-support_record_failure-2.sh [new file with mode: 0644]
support/tst-support_record_failure.c [new file with mode: 0644]
support/xfork.c [new file with mode: 0644]
support/xunistd.h [new file with mode: 0644]
support/xwaitpid.c [new file with mode: 0644]