summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/numeric/interval/test/Jamfile.v2
blob: 0afd0edbc18bd9dfd545721c8368697c55060808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Boost Interval Library test Jamfile
#
# Copyright 2003 Guillaume Melquiond
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or
# copy at http://www.boost.org/LICENSE_1_0.txt)

project
  :
  source-location $(BOOST_ROOT)
  :
  requirements
    # Enable dynamic rounding on Tru64 (Alpha CPU).
    <toolset>hp_cxx,<os>OSF:<cflags>"-fprm d"
    <toolset>gcc,<os>OSF:<cflags>-mfp-rounding-mode=d
    <toolset>gcc:<cxxflags>-frounding-math
    <toolset>msvc:<cxxflags>/fp\:strict
  ;

# bring in rules for testing
import testing ;

{
  test-suite numeric/interval :
    [ compile libs/numeric/interval/test/integer.cpp ]

    [ run libs/numeric/interval/test/add.cpp      ]
    [ run libs/numeric/interval/test/det.cpp      ]
    [ run libs/numeric/interval/test/fmod.cpp     ]
    [ run libs/numeric/interval/test/msvc_x64_flags.cpp : : : <build>no <toolset>msvc:<build>yes ]
    [ run libs/numeric/interval/test/mul.cpp      ]
    [ run libs/numeric/interval/test/overflow.cpp ]
    [ run libs/numeric/interval/test/pi.cpp       ]
    [ run libs/numeric/interval/test/pow.cpp      ]

    [ run libs/numeric/interval/test/cmp.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static ]
    [ run libs/numeric/interval/test/cmp_exn.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static ]
    [ run libs/numeric/interval/test/cmp_exp.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static ]
    [ run libs/numeric/interval/test/cmp_lex.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static ]
    [ run libs/numeric/interval/test/cmp_set.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static ]
 # https://github.com/boostorg/interval/issues/15
 #  [ run libs/numeric/interval/test/cmp_tribool.cpp
 #      ../../../test/build//boost_test_exec_monitor/<link>static ]
    [ run libs/numeric/interval/test/test_float.cpp
        ../../../test/build//boost_test_exec_monitor/<link>static 
      : : : <build>yes <toolset>msvc-10.0:<build>no ]
            # https://github.com/boostorg/interval/issues/17
  ;
}