]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/Jamfile.v2
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / boost / libs / hana / test / Jamfile.v2
1 # Copyright Louis Dionne 2013-2017
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
4
5 import config : requires ;
6 import testing ;
7 import regex ;
8
9 project boost/hana :
10 requirements
11 <include>./_include
12 <include>../include
13 ;
14
15 rule hana-all-tests {
16 local toolset =
17 <toolset>clang:<cxxflags>"-std=c++1y -pedantic -Wall -Wextra"
18 <toolset>darwin:<cxxflags>"-std=c++1y -pedantic -Wall -Wextra"
19 [ requires
20 cxx14_constexpr
21 cxx14_decltype_auto
22 cxx14_generic_lambdas
23 cxx14_return_type_deduction
24 ]
25 ;
26
27 local result ;
28
29 result += [ run issues/github_75/tu1.cpp issues/github_75/tu2.cpp : : : $(toolset) : test.issues.github_75 ] ;
30
31 local sources = [ glob-tree *.cpp : *github_75* ] ;
32 for local source in $(sources)
33 {
34 local target = [ regex.replace $(source) "\.cpp" "" ] ;
35 target = [ regex.replace $(target) "/" "." ] ;
36 result += [ run $(source) : : : $(toolset) : test.$(target) ] ;
37 }
38
39 return $(result) ;
40 }
41
42 test-suite hana : [ hana-all-tests ] ;
43
44 # Satisfy the Boost library requirements
45 test-suite minimal : hana ;
46 test-suite full : hana ;
47 test-suite extra : hana ;
48
49 explicit hana ;
50 explicit minimal ;
51 explicit extra ;