]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/lockfree/test/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / lockfree / test / Jamfile.v2
1 # (C) Copyright 2010: Tim Blechmann
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5 import testing ;
6
7 lib boost_chrono ;
8 lib boost_interprocess ;
9 lib boost_system ;
10 lib boost_thread ;
11 lib boost_unit_test_framework ;
12
13 project
14 : source-location .
15 : requirements
16 <library>../../test/build//boost_unit_test_framework
17 <library>../../atomic/build//boost_atomic
18 ;
19
20
21 rule test_all
22 {
23 local all_rules = ;
24
25 for local fileb in [ glob *.cpp ]
26 {
27 all_rules += [ run $(fileb)
28 : # additional args
29 : # test-files
30 : # requirements
31 <toolset>acc:<linkflags>-lrt
32 <toolset>acc-pa_risc:<linkflags>-lrt
33 <target-os>windows,<toolset>gcc:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
34 <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
35 <library>../../thread/build//boost_thread/
36 <threading>multi
37 <link>static
38 ] ;
39 }
40
41 return $(all_rules) ;
42 }
43
44 test-suite lockfree : [ test_all r ] : <threading>multi ;