1 # Copyright (c) 2004-2011 Michael Stevens, David Bellot
2 # Use, modification and distribution are subject to the
3 # Boost Software License, Version 1.0. (See accompanying file
4 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 # Bring in rules for testing
9 # Define features to test:
10 # Value types: USE_FLOAT USE_DOUBLE USE_STD_COMPLEX
11 # Proxies: USE_RANGE USE_SLICE
12 # Storage types: USE_BOUNDED_ARRAY USE_UNBOUNDED_ARRAY
13 # Vector types: USE_STD_VECTOR USE_BOUNDED_VECTOR
14 # Matrix types: USE_MATRIX USE_BOUNDED_MATRIX USE_VECTOR_OF_VECTOR
15 # Adaptors: USE_ADAPTOR
17 UBLAS_TESTSET = [ modules.peek : UBLAS_TESTSET ] ;
19 USE_DOUBLE USE_STD_COMPLEX
21 USE_UNBOUNDED_ARRAY USE_STD_VECTOR USE_BOUNDED_VECTOR USE_MATRIX
24 # Sparse storage: USE_MAP_ARRAY USE_STD_MAP
25 # Sparse vectors: USE_MAPPED_VECTOR USE_COMPRESSED_VECTOR USE_COORDINATE_VECTOR
26 # Sparse matrices: USE_MAPPED_MATRIX USE_COMPRESSED_MATRIX USE_COORDINATE_MATRIX USE_MAPPED_VECTOR_OF_MAPPED_VECTOR USE_GENERALIZED_VECTOR_OF_VECTOR
28 UBLAS_TESTSET_SPARSE = [ modules.peek : UBLAS_TESTSET_SPARSE ] ;
29 UBLAS_TESTSET_SPARSE ?=
30 USE_DOUBLE USE_STD_COMPLEX
31 # USE_RANGE USE_SLICE # Too complex for regression testing
33 USE_MAP_ARRAY USE_STD_MAP
34 USE_MAPPED_VECTOR USE_COMPRESSED_VECTOR
35 USE_MAPPED_MATRIX USE_COMPRESSED_MATRIX
37 # Generalize VofV still failing
38 # USE_GENERALIZED_VECTOR_OF_VECTOR
40 UBLAS_TESTSET_SPARSE_COO = [ modules.peek : UBLAS_TESTSET_SPARSE_COO ] ;
41 UBLAS_TESTSET_SPARSE_COO ?=
42 USE_DOUBLE USE_STD_COMPLEX
52 <define>BOOST_UBLAS_NO_EXCEPTIONS
53 <toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
57 test-suite numeric/uBLAS
65 <define>$(UBLAS_TESTSET)
72 <define>$(UBLAS_TESTSET)
79 <define>$(UBLAS_TESTSET_SPARSE)
86 <define>$(UBLAS_TESTSET_SPARSE_COO)
97 <define>USE_STD_COMPLEX
99 <define>USE_MAPPED_VECTOR_OF_MAPPED_VECTOR
107 <define>$(UBLAS_TESTSET)
113 <define>$(UBLAS_TESTSET)
119 <define>$(UBLAS_TESTSET)
121 # Test commented out because boost::interval does not behave like a scalar type
127 # <define>BOOST_UBLAS_USE_INTERVAL
128 # <define>$(UBLAS_TESTSET)
131 [ run placement_new.cpp
133 [ compile concepts.cpp
138 <toolset>intel-linux:<cxxflags>"-Xc"
139 <toolset>darwin:<cxxflags>"-fabi-version=0"
143 [ run triangular_access.cpp
147 [ run triangular_layout.cpp
149 [ run comp_mat_erase.cpp
151 [ run sparse_view_test.cpp
155 [ run num_columns.cpp
161 [ run test_coordinate_matrix_sort.cpp
163 [ run test_coordinate_matrix_sort.cpp
166 : <define>BOOST_UBLAS_COO_ALWAYS_DO_FULL_SORT
167 : test_coordinate_matrix_always_do_full_sort
170 [ run test_complex_norms.cpp
172 [ run test_assignment.cpp
173 : : : <define>BOOST_UBLAS_COO_ALWAYS_DO_FULL_SORT
176 [ run test_triangular.cpp
179 : <library>/boost/timer//boost_timer
181 [ run test_ticket7296.cpp
183 [ run test_inplace_solve.cpp
186 : <define>$(UBLAS_TESTSET)
187 : test_inplace_solve_basic
190 [ run test_inplace_solve.cpp
193 : <define>$(UBLAS_TESTSET_SPARSE) <define>$(UBLAS_TESTSET_SPARSE_COO)
194 : test_inplace_solve_sparse
197 [ run test_inplace_solve.cpp
200 : <define>USE_MAPPED_VECTOR_OF_MAPPED_VECTOR
201 : test_inplace_solve_mvov
204 [ run test_coordinate_vector_inplace_merge.cpp
206 [ run test_coordinate_matrix_inplace_merge.cpp
208 [ run test_banded_storage_layout.cpp
215 [ run test_fixed_containers.cpp
220 [ run test_matrix_vector.cpp