]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/tr1/test/Jamfile.v2
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / tr1 / test / Jamfile.v2
CommitLineData
7c673cae
FG
1# Copyright John Maddock 2005.
2# Use, modification and distribution are subject to the
3# Boost Software License, Version 1.0. (See accompanying file
4# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6project :
7 : requirements
8 ;
9
10local TR1_PROPERTIES =
11 <include>$(BOOST_ROOT)/boost/tr1/tr1
12 # Borland's broken include mechanism needs these extra headers:
13 <toolset>borland:<include>$(BOOST_ROOT)/boost/tr1/tr1/bcc32
14 # Sunpro's broken include mechanism needs these extra headers:
15 <include>$(BOOST_ROOT)/boost/tr1/tr1/sun
16 ;
17
18
19#
20# define the sources which need testing, mostly this is just
21# all the files *_test.cpp, but any badly named examples can
22# be added to this list :-)
23#
24
25# this rule enumerates through all the sources and invokes
26# the run rule for each source, the result is a list of all
27# the run rules, which we can pass on to the test_suite rule:
28rule test_all
29{
30 #ECHO executing test_all rule ;
31 local all_rules = ;
32 for local file in [ glob test*.cpp ]
33 {
34 all_rules += [ compile $(file) ] ;
35 all_rules += [ compile $(file)
36 : <define>TEST_STD_HEADERS=1 $(TR1_PROPERTIES) : std_$(file:B) ] ;
37 }
38 for local fileb in [ glob run*.cpp ]
39 {
40 all_rules += [ run $(fileb) ] ;
41 all_rules += [ run $(fileb)
42 : # additional args
43 : # test-files
44 : # requirements
45 <define>TEST_STD_HEADERS=1 $(TR1_PROPERTIES) : std_$(fileb:B) ] ;
46 }
47 for local file2 in [ glob config/tr1_has_tr1*fail.cpp ]
48 {
49 all_rules += [ compile-fail $(file2) ] ;
50 }
51 for local filec in [ glob config/tr1_has_tr1*pass.cpp ]
52 {
53 all_rules += [ compile $(filec) ] ;
54 }
55
56 for local file3 in [ glob type_traits/*.cpp ]
57 {
58 all_rules += [ run $(file3)
59 : # additional args
60 : # test-files
61 : # requirements
62 <include>$(BOOST_ROOT)/libs/type_traits/test
63 <define>TEST_STD=2005 $(TR1_PROPERTIES) ] ;
64 }
65# Commented due to conflict between test_complex in this dir
66# and in std_headers.
67 for local file5 in [ glob std_headers/*.cpp ]
68 {
69 all_rules += [ compile $(file5)
70 : <define>TEST_STD=2005 $(TR1_PROPERTIES)
71 : $(file5:B)_std_header
72 ] ;
73 }
74 for local file6 in [ glob cyclic_depend/*.cpp ]
75 {
76 all_rules += [ compile $(file6)
77 : $(TR1_PROPERTIES)
78 ] ;
79 }
80 #ECHO $(all_rules) ;
81 return $(all_rules) ;
82}
83
84test-suite tr1 : [ test_all r ] ;
85
86
87
88
89
90
91
92
93
94
95