~ubuntu-branches/ubuntu/saucy/deal.ii/saucy

« back to all changes in this revision

Viewing changes to contrib/boost-1.46.1/libs/thread/test/Jamfile.v2

  • Committer: Package Import Robot
  • Author(s): "Adam C. Powell, IV", Adam C. Powell, IV, Christophe Trophime
  • Date: 2012-02-21 06:57:30 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120221065730-r2iz70lg557wcd2e
Tags: 7.1.0-1
[ Adam C. Powell, IV ]
* New upstream (closes: #652057).
* Updated to use PETSc and SLEPc 3.2, and forward-ported all patches.
* Removed NetCDF Build-Depends because it uses serial HDF5.
* Made Sacado cmath patch work with new configure.
* Moved -dev package symlink lines in rules to arch all section.

[ Christophe Trophime ]
* debian/rules:
   - add dh_strip --dbg-package to generate dbg package (closes: #652058)
   - add .install files to simplify rules
* Add support for mumps, arpack (closes: #637655)
* Add patch for slepc 3.2 (closes: #659245)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  (C) Copyright William E. Kempf 2001. 
 
2
#  (C) Copyright 2007 Anthony Williams. 
 
3
#  Distributed under the Boost Software License, Version 1.0. (See accompanying 
 
4
#  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
5
#
 
6
# Boost.Threads test Jamfile
 
7
#
 
8
# Additional configuration variables used:
 
9
#   1. PTW32 may be used on Win32 platforms to specify that the pthreads-win32
 
10
#      library should be used instead of "native" threads. This feature is
 
11
#      mostly used for testing and it's generally recommended you use the
 
12
#      native threading libraries instead. PTW32 should be set to be a list
 
13
#      of two strings, the first specifying the installation path of the
 
14
#      pthreads-win32 library and the second specifying which library
 
15
#      variant to link against (see the pthreads-win32 documentation).
 
16
#      Example: jam -sPTW32="c:\pthreads-win32 pthreadVCE.lib"
 
17
 
 
18
# bring in rules for testing
 
19
import testing ;
 
20
 
 
21
project
 
22
    : requirements <library>/boost/test//boost_unit_test_framework/<link>static
 
23
                   <threading>multi
 
24
    ;
 
25
 
 
26
rule thread-run ( sources )
 
27
{
 
28
    return 
 
29
    [ run $(sources) ../build//boost_thread ]
 
30
    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static 
 
31
        : : : : $(sources[1]:B)_lib ]
 
32
    ;
 
33
}    
 
34
 
 
35
{
 
36
    test-suite "threads"
 
37
        : [ thread-run test_thread.cpp ]
 
38
          [ thread-run test_thread_id.cpp ]
 
39
          [ thread-run test_hardware_concurrency.cpp ]
 
40
          [ thread-run test_thread_move.cpp ]
 
41
          [ thread-run test_thread_return_local.cpp ]
 
42
          [ thread-run test_thread_move_return.cpp ]
 
43
          [ thread-run test_thread_launching.cpp ]
 
44
          [ thread-run test_thread_mf.cpp ]
 
45
          [ thread-run test_thread_exit.cpp ]
 
46
          [ thread-run test_move_function.cpp ]
 
47
          [ thread-run test_mutex.cpp ]
 
48
          [ thread-run test_condition_notify_one.cpp ]
 
49
          [ thread-run test_condition_timed_wait_times_out.cpp ]
 
50
          [ thread-run test_condition_notify_all.cpp ]
 
51
          [ thread-run test_condition.cpp ]
 
52
          [ thread-run test_tss.cpp ]
 
53
          [ thread-run test_once.cpp ]
 
54
          [ thread-run test_xtime.cpp ]
 
55
          [ thread-run test_barrier.cpp ]
 
56
          [ thread-run test_shared_mutex.cpp ]
 
57
          [ thread-run test_shared_mutex_part_2.cpp ]
 
58
          [ thread-run test_shared_mutex_timed_locks.cpp ]
 
59
          [ thread-run test_lock_concept.cpp ]
 
60
          [ thread-run test_generic_locks.cpp ]
 
61
          [ thread-run test_futures.cpp ]
 
62
          [ compile-fail no_implicit_move_from_lvalue_thread.cpp ]
 
63
          [ compile-fail no_implicit_assign_from_lvalue_thread.cpp ]
 
64
    ;
 
65
}