1# Boost Intrusive Library Test Jamfile 2# (C) Copyright Ion Gaztanaga 2006. 3# Use, modification and distribution are subject to the 4# Boost Software License, Version 1.0. (See accompanying file 5# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7# Adapted from John Maddock's TR1 Jamfile.v2 8# Copyright John Maddock 2005. 9# Use, modification and distribution are subject to the 10# Boost Software License, Version 1.0. (See accompanying file 11# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 12 13# this rule enumerates through all the sources and invokes 14# the run rule for each source, the result is a list of all 15# the run rules, which we can pass on to the test_suite rule: 16 17rule test_all 18{ 19 local all_rules = ; 20 21 for local fileb in [ glob *.cpp ] 22 { 23 all_rules += [ run $(fileb) 24 : # additional args 25 : # test-files 26 : # requirements 27 <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32" 28 ] ; 29 } 30 31 return $(all_rules) ; 32} 33 34test-suite intrusive_test : [ test_all r ] : ;