[PATCH] support: Add support for delayed test failure reporting

Florian Weimer fweimer@redhat.com
Wed Dec 28 12:46:00 GMT 2016


On 12/12/2016 02:50 PM, Florian Weimer wrote:
> I need this for the container and resolver tests, which may end up
> detecting errors in code which does not run on the main thread/process.
>
> A MAP_SHARED mapping is used to share the test status across the entire
> process group spawned from the test driver.
>
> Torvald, do the concurrency bits in support/support_record_failure.c
> look okay to you?

Torvald indicated off-list I should use relaxed MO here, so I updated 
the patch accordingly.  I added the TEST_VERIFY macro, too.  Committed.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_verify.patch
Type: text/x-patch
Size: 23386 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161228/2c511904/attachment.bin>


More information about the Libc-alpha mailing list