Boost logo

Threads-Devel :

Subject: [Threads-devel] PATCH: Disable native_handle tests on win32 to make all unit-tests pass
From: Fredrik Orderud (forderud_at_[hidden])
Date: 2013-01-05 05:18:57


Currently, 10 of the boost thread unit-tests on trunk fail when building
with msvc-11 (Microsoft Visual Studio 2012). All of the failing tests are
due to native_handle() methods not being implemented on win32 [1]. The
boost thread synchronization doc states that native_handle() is an optional
method that is not available on all platforms [2]. Therefore, one can argue
that the lack of native_handle() must not necessarily be treated as an
error in the tests. I've therefore attached a patch that disables
native_handle tests on win32, so that all unit-tests pass.

The reason for my request is that it would be very nice with a error-free
unit-test baseline prior to implementing changes to the thread library.

[1] http://www.boost.org/development/tests/trunk/developer/thread.html
[2]
http://www.boost.org/doc/libs/1_52_0/doc/html/thread/synchronization.html

Thanks in advance,
Fredrik Orderud





Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk