|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53408 - in sandbox/task/libs/task: build doc test
From: oliver.kowalke_at_[hidden]
Date: 2009-05-29 16:18:53
Author: olli
Date: 2009-05-29 16:18:52 EDT (Fri, 29 May 2009)
New Revision: 53408
URL: http://svn.boost.org/trac/boost/changeset/53408
Log:
* test test_own_thread corrected
Text files modified:
sandbox/task/libs/task/build/Jamfile.v2 | 6 +++---
sandbox/task/libs/task/doc/overview.qbk | 2 +-
sandbox/task/libs/task/test/test_own_thread.cpp | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
Modified: sandbox/task/libs/task/build/Jamfile.v2
==============================================================================
--- sandbox/task/libs/task/build/Jamfile.v2 (original)
+++ sandbox/task/libs/task/build/Jamfile.v2 2009-05-29 16:18:52 EDT (Fri, 29 May 2009)
@@ -1,10 +1,8 @@
# Boost System Library Build Jamfile
# (C) Copyright Oliver Kowalke 2009
-
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
-
# See library home page at http://www.boost.org/libs/system
import os ;
@@ -12,10 +10,12 @@
import indirect ;
import path ;
-project boost/tp
+project boost/task
: source-location ../src
+ : requirements <threading>multi
<link>static:<define>BOOST_TASK_BUILD_LIB=1
<link>shared:<define>BOOST_TASK_BUILD_DLL=1
+ : default-build <threading>multi
;
local rule default_taskapi ( )
Modified: sandbox/task/libs/task/doc/overview.qbk
==============================================================================
--- sandbox/task/libs/task/doc/overview.qbk (original)
+++ sandbox/task/libs/task/doc/overview.qbk 2009-05-29 16:18:52 EDT (Fri, 29 May 2009)
@@ -66,7 +66,7 @@
[heading How to build]
-* define environment variable BOOST_SOURCE_ROOT pointing to the source directory of __boost__
+* define environment variable BOOST_BUILD_PATH pointing to the source directory of __boost__
* extract archive of __boost_task__
* call bjam in the directory of __boost_task__
Modified: sandbox/task/libs/task/test/test_own_thread.cpp
==============================================================================
--- sandbox/task/libs/task/test/test_own_thread.cpp (original)
+++ sandbox/task/libs/task/test/test_own_thread.cpp 2009-05-29 16:18:52 EDT (Fri, 29 May 2009)
@@ -111,7 +111,7 @@
pt::seconds( 3) ) ) );
h.interrupt();
BOOST_CHECK( h.interruption_requested() );
- BOOST_CHECK_THROW( h.get(), tsk::task_interrupted);
+ BOOST_CHECK_NO_THROW( h.get() );
}
// check interrupt_and_wait
@@ -129,7 +129,7 @@
BOOST_CHECK( ! finished);
BOOST_CHECK( h.is_ready() );
BOOST_CHECK( h.interruption_requested() );
- BOOST_CHECK_THROW( h.get(), tsk::task_interrupted);
+ BOOST_CHECK_NO_THROW( h.get(), tsk::task_interrupted);
}
// check waitfor_all()
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