Brian Silverman | fad8f55 | 2018-08-04 23:36:19 -0700 | [diff] [blame^] | 1 | # Boost Container Library Test Jamfile |
| 2 | |
| 3 | # (C) Copyright Ion Gaztanaga 2009. |
| 4 | # Use, modification and distribution are subject to the |
| 5 | # Boost Software License, Version 1.0. (See accompanying file |
| 6 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | |
| 8 | # Adapted from John Maddock's TR1 Jamfile.v2 |
| 9 | # Copyright John Maddock 2005. |
| 10 | # Use, modification and distribution are subject to the |
| 11 | # Boost Software License, Version 1.0. (See accompanying file |
| 12 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 13 | |
| 14 | # this rule enumerates through all the sources and invokes |
| 15 | # the run rule for each source, the result is a list of all |
| 16 | # the run rules, which we can pass on to the test_suite rule: |
| 17 | |
| 18 | rule test_all |
| 19 | { |
| 20 | local all_rules = ; |
| 21 | |
| 22 | for local fileb in [ glob *.cpp ] |
| 23 | { |
| 24 | all_rules += [ run $(fileb) /boost/container//boost_container /boost/timer//boost_timer |
| 25 | : # additional args |
| 26 | : # test-files |
| 27 | : # requirements |
| 28 | ] ; |
| 29 | } |
| 30 | |
| 31 | return $(all_rules) ; |
| 32 | } |
| 33 | |
| 34 | test-suite container_bench : [ test_all r ] ; |