1 # Copyright (c) 2007, 2008 Joseph Gauterin
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
7 # bring in rules for testing
19 local compile_fail_tests =
20 const_wrapper_fail.cpp ;
24 specialized_in_boost.cpp
25 specialized_in_global.cpp
26 specialized_in_other.cpp
27 specialized_in_std.cpp
28 specialized_in_boost_and_other.cpp
33 std_vector_of_boost.cpp
34 std_vector_of_global.cpp
35 std_vector_of_other.cpp
36 no_ambiguity_in_boost.cpp
37 array_of_array_of_class.cpp
38 array_of_array_of_int.cpp
49 for file in $(compile_tests)
51 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
52 all_rules += [ compile $(file) : : "swap-$(test_name)" ] ;
55 for file in $(compile_fail_tests)
57 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
58 all_rules += [ compile-fail $(file) : : "swap-$(test_name)" ] ;
61 for file in $(run_tests)
63 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
64 all_rules += [ run $(file) : : : : "swap-$(test_name)" ] ;
67 #ECHO All rules: $(all_rules) ;
71 test-suite core/swap : [ test_all r ] ;