blob: 489f67ce42c5e73de01b4278d598d1f4ea692837 [file] [log] [blame]
Brian Silverman7c33ab22018-08-04 17:14:51 -07001# Copyright 2012-2013 Karsten Ahnert
2# Copyright 2012-2013 Mario Mulansky
3# Distributed under the Boost Software License, Version 1.0.
4# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6# bring in rules for testing
7
8
9import testing ;
10import os ;
11
12use-project boost : $(BOOST_ROOT) ;
13
14local EIGEN_ROOT = [ os.environ EIGEN_ROOT ] ;
15
16project
17 : requirements
18 <library>/boost/test//boost_unit_test_framework
19 <define>BOOST_ALL_NO_LIB=1
20 <include>$(EIGEN_ROOT)
21 <include>../../test
22 <link>static
23 # <cxxflags>-D_SCL_SECURE_NO_WARNINGS
24 ;
25
26test-suite "odeint"
27 :
28 [ compile is_resizeable.cpp ]
29 [ run same_size.cpp ]
30 [ run resize.cpp ]
31 [ run runge_kutta4.cpp ]
32 [ run runge_kutta_dopri5.cpp ]
33 [ run integrate.cpp ]
34 [ compile-fail fail_integrate.cpp ]
35 : <testing.launcher>valgrind
36 ;