2014-06-01 01:48:14 +03:00
|
|
|
# Boost.Core Library test Jamfile
|
|
|
|
#
|
2017-09-04 15:32:13 +03:00
|
|
|
# Copyright (c) 2014, 2017 Peter Dimov
|
2014-06-01 01:48:14 +03:00
|
|
|
#
|
|
|
|
# Distributed under 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
|
|
|
|
|
2016-07-11 17:08:28 +03:00
|
|
|
import modules ;
|
2014-06-01 01:48:14 +03:00
|
|
|
import testing ;
|
|
|
|
|
2017-09-04 15:32:13 +03:00
|
|
|
# quick test (for CI)
|
|
|
|
run quick.cpp ;
|
|
|
|
|
|
|
|
# full test suite
|
2014-06-05 17:15:24 +03:00
|
|
|
run addressof_test.cpp ;
|
|
|
|
run addressof_test2.cpp ;
|
|
|
|
run addressof_np_test.cpp ;
|
|
|
|
run addressof_fn_test.cpp ;
|
2017-01-30 17:34:49 -05:00
|
|
|
compile addressof_constexpr_test.cpp ;
|
2017-04-22 23:50:00 -04:00
|
|
|
compile-fail addressof_fail_rvalue.cpp ;
|
2014-06-05 17:15:24 +03:00
|
|
|
|
|
|
|
run checked_delete_test.cpp ;
|
|
|
|
compile-fail checked_delete_fail.cpp ;
|
|
|
|
compile-fail checked_delete_fail2.cpp ;
|
|
|
|
|
|
|
|
compile ref_ct_test.cpp ;
|
|
|
|
run ref_test.cpp ;
|
2014-06-10 03:37:21 +03:00
|
|
|
run ref_ref_test.cpp ;
|
2014-06-10 04:51:38 +03:00
|
|
|
run ref_fn_test.cpp ;
|
2014-06-09 19:50:22 -03:00
|
|
|
compile-fail ref_rv_fail1.cpp ;
|
|
|
|
compile-fail ref_rv_fail2.cpp ;
|
|
|
|
compile-fail ref_rv_fail3.cpp ;
|
2014-06-10 03:31:28 +03:00
|
|
|
compile-fail ref_rv_fail4.cpp ;
|
|
|
|
compile-fail ref_rv_fail5.cpp ;
|
2014-06-10 03:21:22 +03:00
|
|
|
compile-fail ref_implicit_fail.cpp ;
|
|
|
|
compile-fail ref_implicit_fail2.cpp ;
|
2017-02-02 18:40:06 +02:00
|
|
|
run ref_cv_test.cpp ;
|
2014-06-05 17:15:24 +03:00
|
|
|
|
|
|
|
run eif_constructors.cpp ;
|
|
|
|
run eif_dummy_arg_disambiguation.cpp ;
|
|
|
|
run eif_lazy.cpp ;
|
|
|
|
run eif_lazy_test.cpp ;
|
|
|
|
run eif_member_templates.cpp ;
|
|
|
|
run eif_namespace_disambiguation.cpp ;
|
|
|
|
run eif_no_disambiguation.cpp ;
|
|
|
|
run eif_partial_specializations.cpp ;
|
|
|
|
|
2014-06-12 21:24:49 +04:00
|
|
|
compile-fail noncopyable_compile_fail.cpp ;
|
2014-06-12 19:53:08 +04:00
|
|
|
|
2014-06-05 17:15:24 +03:00
|
|
|
run explicit_operator_bool.cpp ;
|
|
|
|
run explicit_operator_bool_noexcept.cpp ;
|
|
|
|
compile-fail explicit_operator_bool_compile_fail_conv_int.cpp ;
|
|
|
|
compile-fail explicit_operator_bool_compile_fail_conv_pvoid.cpp ;
|
|
|
|
compile-fail explicit_operator_bool_compile_fail_delete.cpp ;
|
|
|
|
compile-fail explicit_operator_bool_compile_fail_shift.cpp ;
|
|
|
|
|
|
|
|
compile ignore_unused_test.cpp : <toolset>gcc-4.8:<cxxflags>"-Wunused-variable -Wunused-local-typedefs -Werror"
|
|
|
|
<toolset>gcc:<cxxflags>"-Wunused-variable -Werror"
|
|
|
|
<toolset>clang:<cxxflags>"-Wunused-variable -Werror"
|
|
|
|
<toolset>msvc:<cxxflags>"/we4100 /we4101" ;
|
|
|
|
run sp_typeinfo_test.cpp ;
|
|
|
|
run sp_typeinfo_test.cpp : : : <rtti>off : sp_typeinfo_test_no_rtti ;
|
|
|
|
|
|
|
|
run visit_each_test.cpp ;
|
|
|
|
|
|
|
|
run get_pointer_test.cpp ;
|
|
|
|
|
|
|
|
run lightweight_test_test.cpp ;
|
|
|
|
run lightweight_test_test.cpp : : : <exception-handling>off : lightweight_test_test_no_except ;
|
2014-06-06 15:17:16 +03:00
|
|
|
run lightweight_test_test2.cpp ;
|
2017-02-18 13:43:29 +01:00
|
|
|
run lightweight_test_all_with_test.cpp ;
|
2017-03-16 01:31:43 +02:00
|
|
|
run lightweight_test_lt_le_test.cpp ;
|
2017-06-18 01:10:43 +09:00
|
|
|
run lightweight_test_gt_ge_test.cpp ;
|
2017-05-29 21:15:49 +03:00
|
|
|
run lightweight_test_eq_nullptr.cpp ;
|
2018-08-07 17:58:23 +03:00
|
|
|
run lightweight_test_test3.cpp ;
|
2019-02-06 02:02:40 +02:00
|
|
|
run lightweight_test_test4.cpp ;
|
2017-05-29 21:15:49 +03:00
|
|
|
|
2019-04-20 10:11:16 +03:00
|
|
|
run-fail lightweight_test_all_eq_test.cpp ;
|
|
|
|
run-fail lightweight_test_all_with_fail.cpp ;
|
|
|
|
|
2014-06-05 17:15:24 +03:00
|
|
|
run-fail lightweight_test_fail.cpp ;
|
|
|
|
run-fail lightweight_test_fail2.cpp ;
|
|
|
|
run-fail lightweight_test_fail3.cpp ;
|
|
|
|
run-fail lightweight_test_fail4.cpp ;
|
|
|
|
run-fail lightweight_test_fail5.cpp ;
|
|
|
|
run-fail lightweight_test_fail6.cpp ;
|
2014-06-06 02:34:46 +03:00
|
|
|
run-fail lightweight_test_fail7.cpp ;
|
2014-06-06 23:30:32 +03:00
|
|
|
run-fail lightweight_test_fail7.cpp : : : <rtti>off : lightweight_test_fail7_no_rtti ;
|
2014-06-06 02:34:46 +03:00
|
|
|
run-fail lightweight_test_fail8.cpp ;
|
2014-06-06 23:30:32 +03:00
|
|
|
run-fail lightweight_test_fail8.cpp : : : <rtti>off : lightweight_test_fail8_no_rtti ;
|
2017-02-07 15:05:08 +00:00
|
|
|
run-fail lightweight_test_fail9.cpp ;
|
|
|
|
run-fail lightweight_test_fail10.cpp ;
|
2018-09-04 20:28:30 -04:00
|
|
|
run-fail lightweight_test_fail11.cpp ;
|
2019-04-20 08:55:50 +02:00
|
|
|
run-fail lightweight_test_fail12.cpp ;
|
2017-03-16 01:31:43 +02:00
|
|
|
run-fail lightweight_test_lt_fail.cpp ;
|
|
|
|
run-fail lightweight_test_le_fail.cpp ;
|
2017-06-18 01:10:43 +09:00
|
|
|
run-fail lightweight_test_gt_fail.cpp ;
|
|
|
|
run-fail lightweight_test_ge_fail.cpp ;
|
2014-06-06 02:34:46 +03:00
|
|
|
|
|
|
|
run is_same_test.cpp ;
|
|
|
|
|
|
|
|
run typeinfo_test.cpp ;
|
|
|
|
run typeinfo_test.cpp : : : <rtti>off : typeinfo_test_no_rtti ;
|
|
|
|
|
|
|
|
run iterator_test.cpp ;
|
2014-06-06 03:07:46 +03:00
|
|
|
run detail_iterator_test.cpp ;
|
2014-06-06 15:49:29 +03:00
|
|
|
|
2014-06-06 23:30:32 +03:00
|
|
|
run demangle_test.cpp : : : <test-info>always_show_run_output ;
|
|
|
|
|
2014-06-06 15:49:29 +03:00
|
|
|
run demangled_name_test.cpp : : : <test-info>always_show_run_output ;
|
2014-06-06 23:30:32 +03:00
|
|
|
run demangled_name_test.cpp : : : <rtti>off <test-info>always_show_run_output : demangled_name_test_no_rtti ;
|
2014-06-07 02:30:29 +04:00
|
|
|
|
|
|
|
run scoped_enum.cpp ;
|
|
|
|
compile-fail scoped_enum_compile_fail_conv_from_int.cpp ;
|
|
|
|
compile-fail scoped_enum_compile_fail_conv_to_int.cpp ;
|
|
|
|
|
|
|
|
run underlying_type.cpp ;
|
2016-07-11 17:08:28 +03:00
|
|
|
|
2017-05-16 07:11:46 -04:00
|
|
|
run pointer_traits_pointer_test.cpp ;
|
|
|
|
run pointer_traits_element_type_test.cpp ;
|
|
|
|
run pointer_traits_difference_type_test.cpp ;
|
|
|
|
run pointer_traits_rebind_test.cpp ;
|
|
|
|
run pointer_traits_pointer_to_test.cpp ;
|
2017-07-21 06:21:50 -04:00
|
|
|
run to_address_test.cpp ;
|
2017-05-16 07:11:46 -04:00
|
|
|
|
2018-07-07 23:13:03 -04:00
|
|
|
run exchange_test.cpp ;
|
|
|
|
run exchange_move_test.cpp ;
|
|
|
|
|
2018-08-22 11:09:31 -04:00
|
|
|
run empty_value_test.cpp ;
|
|
|
|
run empty_value_size_test.cpp ;
|
2019-02-19 01:50:10 -05:00
|
|
|
run empty_value_final_test.cpp ;
|
2018-08-22 11:09:31 -04:00
|
|
|
|
2018-09-05 17:06:42 +03:00
|
|
|
run quick_exit_test.cpp ;
|
|
|
|
run-fail quick_exit_fail.cpp ;
|
|
|
|
|
2019-02-22 16:51:33 -05:00
|
|
|
compile use_default_test.cpp ;
|
|
|
|
|
2019-04-24 22:21:13 -04:00
|
|
|
run default_allocator_test.cpp ;
|
2019-04-27 19:14:10 -04:00
|
|
|
run noinit_adaptor_test.cpp ;
|
2019-05-02 09:43:31 -04:00
|
|
|
run alloc_construct_test.cpp ;
|
|
|
|
run alloc_construct_throws_test.cpp ;
|
|
|
|
run alloc_construct_cxx11_test.cpp ;
|
2019-04-24 22:21:13 -04:00
|
|
|
|
2018-10-21 17:47:33 +03:00
|
|
|
lib lib_typeid : lib_typeid.cpp : <link>shared:<define>LIB_TYPEID_DYN_LINK=1 ;
|
|
|
|
|
|
|
|
run test_lib_typeid.cpp lib_typeid : : : <link>shared : test_lib_typeid_shared ;
|
|
|
|
run test_lib_typeid.cpp lib_typeid : : : <link>static : test_lib_typeid_static ;
|
|
|
|
|
|
|
|
run test_lib_typeid.cpp lib_typeid : : : <link>shared <rtti>off : test_lib_typeid_shared_no_rtti ;
|
2019-04-19 17:32:05 +03:00
|
|
|
run test_lib_typeid.cpp lib_typeid : : : <link>static <rtti>off : test_lib_typeid_static_no_rtti ;
|
2018-10-21 17:47:33 +03:00
|
|
|
|
2018-11-10 17:44:13 +03:00
|
|
|
run uncaught_exceptions.cpp : : : <exception-handling>on ;
|
|
|
|
run uncaught_exceptions_np.cpp : : : <exception-handling>on ;
|
|
|
|
|
2019-04-19 17:32:05 +03:00
|
|
|
run no_exceptions_support_test.cpp ;
|
|
|
|
run no_exceptions_support_test.cpp : : : <exception-handling>off : no_exceptions_support_test_nx ;
|
|
|
|
|
2016-07-11 17:08:28 +03:00
|
|
|
use-project /boost/core/swap : ./swap ;
|
|
|
|
build-project ./swap ;
|