Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53123 - sandbox/stm/libs/stm/test
From: vicente.botet_at_[hidden]
Date: 2009-05-19 18:01:31


Author: viboes
Date: 2009-05-19 18:01:31 EDT (Tue, 19 May 2009)
New Revision: 53123
URL: http://svn.boost.org/trac/boost/changeset/53123

Log:
TBoost.Stm v0.1 Moving to Boost 1.39

Text files modified:
   sandbox/stm/libs/stm/test/Jamfile.v2 | 51 +++++++++++++++++----------------------
   1 files changed, 22 insertions(+), 29 deletions(-)

Modified: sandbox/stm/libs/stm/test/Jamfile.v2
==============================================================================
--- sandbox/stm/libs/stm/test/Jamfile.v2 (original)
+++ sandbox/stm/libs/stm/test/Jamfile.v2 2009-05-19 18:01:31 EDT (Tue, 19 May 2009)
@@ -1,56 +1,49 @@
-# (C) Copyright William E. Kempf 2001.
-# (C) Copyright 2007 Anthony Williams.
-# (C) Copyright 2008-2009 Vicente Botet Escriba.
-# Distributed under the Boost Software License, Version 1.0. (See accompanying
-# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 #
-# Boost.InterThreads test Jamfile
+# Boost.Synchro
+# Build script for tests.
 #
-# Additional configuration variables used:
-# 1. PTW32 may be used on Win32 platforms to specify that the pthreads-win32
-# library should be used instead of "native" threads. This feature is
-# mostly used for testing and it's generally recommended you use the
-# native threading libraries instead. PTW32 should be set to be a list
-# of two strings, the first specifying the installation path of the
-# pthreads-win32 library and the second specifying which library
-# variant to link against (see the pthreads-win32 documentation).
-# Example: jam -sPTW32="c:\pthreads-win32 pthreadVCE.lib"
+# Copyright (c) 2008-2009 Vicente J. Botet Escriba]
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 # bring in rules for testing
 import testing ;
 
+if ! $(BOOST_ROOT)
+{
+ BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
+}
+
 project
     : requirements
 # <library>/boost/test//boost_unit_test_framework/<link>static
 # <library>/boost/thread//boost_thread/<link>static
-# <library>../../../../../boost_1_38_0/libs/test/build//boost_unit_test_framework/<link>static
+# <library>/boost_1_39_0/libs/test/build//boost_unit_test_framework/<link>static
         <library>../build//boost_STM/<link>static
-# <library>../../../../../boost_1_38_0/libs/thread/build//boost_thread/<link>static
+# <library>/boost_1_39_0/libs/thread/build//boost_thread/<link>static
 
         <include>.
         <include>../../..
- <include>../../../../../boost_1_38_0
+ <include>/boost_1_39_0
         <threading>multi
 # <target-os>cygwin
 # <interthreadapi>pthread
- <variant>debug
+# <variant>debug
 # <define>BOOST_THREAD_HAS_THREAD_ATTR
 
     ;
 
-rule interthreads-run ( sources * )
-{
- return
- [ run $(sources) : : : <link>static ]
-# [ run $(sources) ../../../../libs/thread/build//boost_thread : : : : $(sources[1]:B)_lib ]
- ;
-}
+#rule interthreads-run ( sources * )
+#{
+# return
+# [ run $(sources) : : : <link>static ]
+## [ run $(sources) ../../../../libs/thread/build//boost_thread : : : : $(sources[1]:B)_lib ]
+# ;
+#}
 
 
 
-{
     test-suite "tests"
         :
- [ interthreads-run stm.cpp smart.cpp globalIntArr.cpp testHashMapAndLinkedListsWithLocks.cpp irrevocableInt.cpp testHashMapWithLocks.cpp isolatedComposedIntLockInTx.cpp testInt.cpp isolatedComposedIntLockInTx2.cpp testLL_latm.cpp isolatedInt.cpp testLinkedList.cpp isolatedIntLockInTx.cpp testLinkedListWithLocks.cpp litExample.cpp testPerson.cpp lotExample.cpp testRBTree.cpp transferFun.cpp nestedTxs.cpp txLinearLock.cpp testHT_latm.cpp usingLockTx.cpp testHashMap.cpp ]
+ [ run stm.cpp pointer_test.cpp smart.cpp globalIntArr.cpp testHashMapAndLinkedListsWithLocks.cpp irrevocableInt.cpp testHashMapWithLocks.cpp isolatedComposedIntLockInTx.cpp testInt.cpp isolatedComposedIntLockInTx2.cpp testLL_latm.cpp isolatedInt.cpp testLinkedList.cpp isolatedIntLockInTx.cpp testLinkedListWithLocks.cpp litExample.cpp testPerson.cpp lotExample.cpp testRBTree.cpp transferFun.cpp nestedTxs.cpp txLinearLock.cpp testHT_latm.cpp usingLockTx.cpp testHashMap.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