|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81648 - trunk/libs/thread/test
From: vicente.botet_at_[hidden]
Date: 2012-12-01 06:10:43
Author: viboes
Date: 2012-12-01 06:10:43 EST (Sat, 01 Dec 2012)
New Revision: 81648
URL: http://svn.boost.org/trac/boost/changeset/81648
Log:
Thread: Added no interruption header-only tests for shared_mutex/shared_lock
Text files modified:
trunk/libs/thread/test/Jamfile.v2 | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
Modified: trunk/libs/thread/test/Jamfile.v2
==============================================================================
--- trunk/libs/thread/test/Jamfile.v2 (original)
+++ trunk/libs/thread/test/Jamfile.v2 2012-12-01 06:10:43 EST (Sat, 01 Dec 2012)
@@ -92,6 +92,7 @@
;
}
+
rule thread-test ( sources )
{
return
@@ -117,6 +118,18 @@
;
}
+rule thread-run2-h ( sources : name )
+{
+ return
+ [ run $(sources) : : :
+ <library>/boost/system//boost_system
+ <define>BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
+ <define>BOOST_THREAD_VERSION=3
+ : $(name)_h ]
+ ;
+}
+
+
rule thread-run-lib2 ( sources : name )
{
return
@@ -365,6 +378,8 @@
#[ thread-compile-fail ./sync/mutual_exclusion/locks/unique_lock/obs/op_int_fail.cpp : : unique_lock__op_int_f ]
[ thread-run2 ./sync/mutual_exclusion/locks/unique_lock/obs/owns_lock_pass.cpp : unique_lock__owns_lock_p ]
[ thread-run2 ./sync/mutual_exclusion/locks/unique_lock/types_pass.cpp : unique_lock__types_p ]
+
+
;
#explicit ts_make_unique_lock ;
@@ -407,6 +422,10 @@
[ thread-run2 ./sync/mutual_exclusion/locks/shared_lock/obs/op_bool_pass.cpp : shared_lock__op_bool_p ]
[ thread-run2 ./sync/mutual_exclusion/locks/shared_lock/obs/owns_lock_pass.cpp : shared_lock__owns_lock_p ]
[ thread-run2 ./sync/mutual_exclusion/locks/shared_lock/types_pass.cpp : shared_lock__types_p ]
+
+ [ thread-run2-h ./sync/mutual_exclusion/locks/shared_lock/cons/default_pass.cpp : shared_lock__cons__default_p ]
+ [ thread-run2-h ./sync/mutual_exclusion/locks/shared_lock/cons/defer_lock_pass.cpp : shared_lock__cons__defer_lock_p ]
+
;
#explicit ts_upgrade_lock ;
@@ -497,6 +516,7 @@
[ thread-run2 ./sync/mutual_exclusion/shared_mutex/try_lock_pass.cpp : shared_mutex__try_lock_p ]
[ thread-run2 ./sync/mutual_exclusion/shared_mutex/try_lock_until_pass.cpp : shared_mutex__try_lock_until_p ]
+ [ thread-run2-h ./sync/mutual_exclusion/shared_mutex/default_pass.cpp : shared_mutex__default_p ]
;
#explicit ts_this_thread ;
@@ -561,6 +581,7 @@
[ thread-run ../example/make_future.cpp ]
[ thread-run ../example/future_then.cpp ]
[ thread-run ../example/synchronized_value.cpp ]
+ [ thread-run ../example/synchronized_person.cpp ]
[ thread-run ../example/thread_guard.cpp ]
[ thread-run ../example/scoped_thread.cpp ]
[ thread-run ../example/strict_lock.cpp ]
Boost-Commit 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