History log of /6.6.0/platform/tests/rwlock/CMakeLists.txt (Results 1 - 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.5.1, v6.0.3
# 5441ba94 05-Apr-2019 Dave Rigby <daver@couchbase.com>

Add rwlock / ThreadSanitzer interoperability tests

Add tests which check that, for each of the different mutex types we
use, ThreadSanizier can correctly detect locking issues.

Add rwlock / ThreadSanitzer interoperability tests

Add tests which check that, for each of the different mutex types we
use, ThreadSanizier can correctly detect locking issues.

Note this test suite relies on:

a) ThreadSanitizer being enabled, and
b) ThreadSanitizer specifically configured to immediately halt on any
errors.

Moreover, it turns out that macOS (Mojave, XCode 10.1) _doesn't_ have
the necessary mutex annotations for std::mutex, std::shared_mutex or
pthread_rwlock, which means those test combinations fail on macOS and
need to be skipped.

Change-Id: I2cb96e6dde95db4158bb8cf4536e6d637a0723a7
Reviewed-on: http://review.couchbase.org/107361
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Daniel Owen <owend@couchbase.com>

show more ...