Brian Silverman | 7c33ab2 | 2018-08-04 17:14:51 -0700 | [diff] [blame^] | 1 | # 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 | |
| 9 | import testing ; |
| 10 | import os ; |
| 11 | |
| 12 | use-project boost : $(BOOST_ROOT) ; |
| 13 | |
| 14 | local EIGEN_ROOT = [ os.environ EIGEN_ROOT ] ; |
| 15 | |
| 16 | project |
| 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 | |
| 26 | test-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 | ; |