1# Boost.uBLAS 2# 3# Copyright (c) 2018 Cem Bassoy 4# 5# Use, modification and distribution is subject to the Boost Software License, 6# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7# http://www.boost.org/LICENSE_1_0.txt) 8 9project boost/ublas/test/tensor 10 : requirements 11 # these tests require C++17 12 <cxxstd>11:<build>no 13 <toolset>gcc:<cxxflags>"-Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-but-set-variable" 14 ; 15 16alias unit_test_framework 17 : # sources 18 /boost//unit_test_framework 19 ; 20 21# make aliases explicit so the libraries will only be built when requested 22explicit unit_test_framework ; 23 24 25 26test-suite boost-ublas-tensor-test 27 : 28 [ run test_tensor.cpp 29 test_strides.cpp 30 test_operators_comparison.cpp 31 test_operators_arithmetic.cpp 32 test_multiplication.cpp 33 test_multi_index_utility.cpp 34 test_multi_index.cpp 35 test_functions.cpp 36 test_extents.cpp 37 test_expression_evaluation.cpp 38 test_einstein_notation.cpp 39 test_algorithms.cpp 40 test_tensor_matrix_vector.cpp 41 unit_test_framework ] 42 ; 43