2012-01-09 17:21:04 +00:00
|
|
|
# Boost algorithm library test suite Jamfile ----------------------------
|
|
|
|
#
|
|
|
|
# Copyright Marshall Clow 2010-2012. Use, modification and
|
|
|
|
# distribution is subject to the Boost Software License, Version
|
|
|
|
# 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#
|
|
|
|
# See http://www.boost.org for updates, documentation, and revision history.
|
|
|
|
|
|
|
|
import testing ;
|
|
|
|
|
2013-02-08 17:21:43 +00:00
|
|
|
alias unit_test_framework
|
|
|
|
: # sources
|
|
|
|
/boost//unit_test_framework
|
|
|
|
;
|
|
|
|
|
|
|
|
|
2012-01-09 17:21:04 +00:00
|
|
|
{
|
|
|
|
test-suite algorithm:
|
|
|
|
# Search tests
|
2013-02-08 17:21:43 +00:00
|
|
|
: [ run empty_search_test.cpp unit_test_framework : : : : empty_search_test ]
|
|
|
|
[ run search_test1.cpp unit_test_framework : : : : search_test1 ]
|
|
|
|
[ run search_test2.cpp unit_test_framework : : : : search_test2 ]
|
|
|
|
[ run search_test3.cpp unit_test_framework : : : : search_test3 ]
|
|
|
|
[ run search_test4.cpp unit_test_framework : : : : search_test4 ]
|
|
|
|
[ compile-fail search_fail1.cpp : : : : ]
|
|
|
|
[ compile-fail search_fail2.cpp : : : : ]
|
|
|
|
[ compile-fail search_fail3.cpp : : : : ]
|
2012-01-09 17:21:04 +00:00
|
|
|
|
|
|
|
# Clamp tests
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run clamp_test.cpp unit_test_framework : : : : clamp_test ]
|
2012-02-18 07:17:39 +00:00
|
|
|
|
|
|
|
# Cxx11 tests
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run all_of_test.cpp unit_test_framework : : : : all_of_test ]
|
|
|
|
[ run any_of_test.cpp unit_test_framework : : : : any_of_test ]
|
|
|
|
[ run none_of_test.cpp unit_test_framework : : : : none_of_test ]
|
|
|
|
[ run one_of_test.cpp unit_test_framework : : : : one_of_test ]
|
2012-02-18 07:17:39 +00:00
|
|
|
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run ordered_test.cpp unit_test_framework : : : : ordered_test ]
|
|
|
|
[ run find_if_not_test1.cpp unit_test_framework : : : : find_if_not_test1 ]
|
|
|
|
[ run copy_if_test1.cpp unit_test_framework : : : : copy_if_test1 ]
|
|
|
|
[ run copy_n_test1.cpp unit_test_framework : : : : copy_n_test1 ]
|
|
|
|
[ run iota_test1.cpp unit_test_framework : : : : iota_test1 ]
|
2012-02-18 07:17:39 +00:00
|
|
|
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run is_permutation_test1.cpp unit_test_framework : : : : is_permutation_test1 ]
|
|
|
|
[ run partition_point_test1.cpp unit_test_framework : : : : partition_point_test1 ]
|
|
|
|
[ run is_partitioned_test1.cpp unit_test_framework : : : : is_partitioned_test1 ]
|
|
|
|
[ run partition_copy_test1.cpp unit_test_framework : : : : partition_copy_test1 ]
|
2012-02-18 07:17:39 +00:00
|
|
|
|
2013-05-09 17:22:46 +00:00
|
|
|
# Cxx14 tests
|
|
|
|
[ run equal_test.cpp unit_test_framework : : : : equal_test ]
|
|
|
|
[ run mismatch_test.cpp unit_test_framework : : : : mismatch_test ]
|
|
|
|
|
2012-02-28 23:17:52 +00:00
|
|
|
# Hex tests
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run hex_test1.cpp unit_test_framework : : : : hex_test1 ]
|
|
|
|
[ run hex_test2.cpp unit_test_framework : : : : hex_test2 ]
|
|
|
|
[ run hex_test3.cpp unit_test_framework : : : : hex_test3 ]
|
|
|
|
[ run hex_test4.cpp unit_test_framework : : : : hex_test4 ]
|
2013-01-22 00:44:53 +00:00
|
|
|
[ compile-fail hex_fail1.cpp ]
|
2012-07-09 17:31:20 +00:00
|
|
|
|
|
|
|
# Wrapper tests
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run wrapper_test1.cpp unit_test_framework : : : : wrapper_test1 ]
|
2013-01-22 00:44:53 +00:00
|
|
|
|
|
|
|
# Gather tests
|
2013-02-08 17:21:43 +00:00
|
|
|
[ run gather_test1.cpp unit_test_framework : : : : gather_test1 ]
|
2013-01-22 00:44:53 +00:00
|
|
|
[ compile-fail gather_fail1.cpp ]
|
2013-02-08 17:21:43 +00:00
|
|
|
|
2012-01-09 17:21:04 +00:00
|
|
|
;
|
|
|
|
}
|
|
|
|
|