Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / numeric / odeint / test / Jamfile.v2
1 # Copyright 2012-2013 Karsten Ahnert
2 # Copyright 2012-2013 Mario Mulansky
3 # Copyright 2013 Pascal Germroth
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 # bring in rules for testing
8
9
10 import testing ;
11
12 use-project boost : $(BOOST_ROOT) ;
13
14 project
15     : requirements
16       <library>/boost/test//boost_unit_test_framework
17       <define>BOOST_ALL_NO_LIB=1
18       <link>static
19       <toolset>clang:<cxxflags>-Wno-unused-variable
20 # <cxxflags>-D_SCL_SECURE_NO_WARNINGS
21     ;
22
23 test-suite "odeint"
24     :
25     [ run euler_stepper.cpp ]
26     [ run runge_kutta_concepts.cpp ]
27     [ run runge_kutta_error_concepts.cpp ]
28     [ run runge_kutta_controlled_concepts.cpp ]
29     [ run resizing.cpp ]
30     [ run default_operations.cpp ]
31     [ run range_algebra.cpp ]
32     [ run implicit_euler.cpp ]
33 # disable in clang
34     [ run fusion_algebra.cpp : : : <toolset>clang:<build>no ]
35     [ run stepper_with_units.cpp : : : <toolset>clang:<build>no ]
36     [ run stepper_copying.cpp ]
37     [ run stepper_with_ranges.cpp ]
38     [ run rosenbrock4.cpp ]
39     [ run rosenbrock4_mp.cpp ]
40     [ run is_pair.cpp ]
41     [ run adams_bashforth.cpp ]
42     [ run adams_moulton.cpp ]
43     [ run adams_bashforth_moulton.cpp ]
44     [ run generic_stepper.cpp ]
45     [ run generic_error_stepper.cpp ]
46     [ run bulirsch_stoer.cpp ]
47     [ run integrate_times.cpp ]
48     [ run integrate_times.cpp : : : <define>ODEINT_INTEGRATE_ITERATOR : integrate_times_iterator ]
49     [ run integrate.cpp ]
50     [ run integrate.cpp : : : <define>ODEINT_INTEGRATE_ITERATOR : integrate_iterator ]
51     [ run integrate_implicit.cpp ]
52     [ run integrate_implicit.cpp : : : <define>ODEINT_INTEGRATE_ITERATOR : integrate_implicit_iterator ]
53     [ run generation.cpp ]
54     [ run trivial_state.cpp ]
55     [ run is_resizeable.cpp ]
56     [ run resize.cpp ]
57     [ run same_size.cpp ]
58     [ run split.cpp ]
59     [ run symplectic_steppers.cpp ]
60     [ run integrators_symplectic.cpp ]
61     [ run integrators_symplectic.cpp : : : <define>ODEINT_INTEGRATE_ITERATOR : integrators_symplectic_iterator ]
62     [ run velocity_verlet.cpp ]
63     [ run multi_array.cpp ]
64     [ compile algebra_dispatcher.cpp ]
65     [ run integrate_stepper_refs.cpp ]
66     [ run const_step_iterator.cpp ]
67     [ run const_step_time_iterator.cpp ]
68     [ run adaptive_iterator.cpp ]
69     [ run adaptive_time_iterator.cpp ]
70     [ run n_step_iterator.cpp ]
71     [ run n_step_time_iterator.cpp ]
72     [ run times_iterator.cpp ]
73     [ run times_time_iterator.cpp ]
74     [ compile unwrap_boost_reference.cpp ]
75     [ compile unwrap_reference.cpp : <cxxflags>-std=c++0x : unwrap_reference_C++11 ]
76     [ compile-fail unwrap_reference.cpp : <cxxflags>-std=c++98 : unwrap_reference_C++98 ]
77     : <testing.launcher>valgrind
78     ;
79     
80 # also run numeric tests
81 build-project numeric ;
82
83 # test-suite "odeint-iterator_integrate"
84 #    :
85 #    [ run integrate.cpp : : : : integrate_iterator ]
86 #    : <testing.launcher>valgrind
87 #      <define>ODEINT_ITERATOR_INTEGRATE
88 #    ;
89