Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/thread/test/Jamfile.v2 @ 33

Last change on this file since 33 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 1.6 KB
RevLine 
[29]1#  (C) Copyright William E. Kempf 2001.
2#  Distributed under the Boost Software License, Version 1.0. (See accompanying
3#  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4#
5# Boost.Threads test Jamfile
6#
7# Additional configuration variables used:
8#   1. PTW32 may be used on Win32 platforms to specify that the pthreads-win32
9#      library should be used instead of "native" threads. This feature is
10#      mostly used for testing and it's generally recommended you use the
11#      native threading libraries instead. PTW32 should be set to be a list
12#      of two strings, the first specifying the installation path of the
13#      pthreads-win32 library and the second specifying which library
14#      variant to link against (see the pthreads-win32 documentation).
15#      Example: jam -sPTW32="c:\pthreads-win32 pthreadVCE.lib"
16
17# bring in rules for testing
18import testing ;
19
20project
21    : requirements <library>/boost/test//boost_unit_test_framework/<link>static
22                   <threading>multi
23    ;
24   
25rule thread-run ( sources )
26{
27    return
28        [ run $(sources) ../build//boost_thread ]
29        [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
30            : : : : $(sources[1]:B)_lib ]
31        ;
32}   
33   
34{
35    test-suite "threads"
36        : [ thread-run test_thread.cpp ]
37          [ thread-run test_mutex.cpp ]
38          [ thread-run test_condition.cpp ]
39          [ thread-run test_tss.cpp ]
40          [ thread-run test_once.cpp ]
41          [ thread-run test_xtime.cpp ]
42          [ thread-run test_barrier.cpp ]                 
43#          [ thread-run test_read_write_mutex.cpp ]
44    ;
45}
Note: See TracBrowser for help on using the repository browser.