# (C) Copyright Edward Diener 2011,2012 # Use, modification and distribution are 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). # # Tti testing Jamfile # import testing ; project tti_tests : requirements on gcc:all msvc:all gcc-4.3.0:-Wno-variadic-macros gcc-4.4.0:-Wno-variadic-macros gcc-4.4.7:-Wno-variadic-macros gcc-4.5.0:-Wno-variadic-macros gcc-4.5.0:"-Wl,--enable-auto-import" gcc-4.5.2:-Wno-variadic-macros gcc-4.6.0:-Wno-variadic-macros gcc-4.6.1:-Wno-variadic-macros gcc-4.6.2:-Wno-variadic-macros gcc-4.6.3:-Wno-variadic-macros gcc-4.7.0:-Wno-variadic-macros gcc-4.7.2:-Wno-variadic-macros ; # # Member functions composite syntax # alias ttimfsig : [ run test_has_member.cpp ] [ compile test_has_member_compile.cpp ] [ compile-fail test_has_member_fail.cpp ] [ compile-fail test_has_member_fail2.cpp ] [ compile-fail test_has_member_fail3.cpp ] ; # # Member functions composite syntax, cv-qualified # alias ttimfsigcv : [ run test_has_member_cv.cpp ] [ compile test_has_member_cv_compile.cpp ] [ compile-fail test_has_member_cv_fail.cpp ] [ compile-fail test_has_member_cv_fail2.cpp ] [ compile-fail test_has_member_cv_fail3.cpp ] [ compile-fail test_has_member_cv_fail4.cpp ] [ compile-fail test_has_member_cv_fail5.cpp ] ; # # Member data # alias ttimd : [ run test_has_mem_data.cpp ] [ run test_has_mem_data2.cpp ] [ compile test_has_mem_data_compile.cpp ] [ compile-fail test_has_mem_data_fail.cpp ] [ compile-fail test_has_mem_data_fail2.cpp ] [ compile-fail test_has_mem_data_fail3.cpp ] ; # # Member functions specific syntax # alias ttimfn : [ run test_has_mem_fun.cpp ] [ compile test_has_mem_fun_compile.cpp ] [ compile-fail test_has_mem_fun_fail.cpp ] [ compile-fail test_has_mem_fun_fail2.cpp ] [ compile-fail test_has_mem_fun_fail3.cpp ] ; # # Member functions specific syntax, cv-qualified # alias ttimfncv : [ run test_has_mem_fun_cv.cpp ] [ compile test_has_mem_fun_cv_compile.cpp ] [ compile-fail test_has_mem_fun_cv_fail.cpp ] [ compile-fail test_has_mem_fun_cv_fail2.cpp ] [ compile-fail test_has_mem_fun_cv_fail3.cpp ] [ compile-fail test_has_mem_fun_cv_fail4.cpp ] [ compile-fail test_has_mem_fun_cv_fail5.cpp ] [ compile-fail test_has_mem_fun_cv_fail6.cpp ] ; # # Static member functions composite syntax # alias ttismfsig : [ run test_has_static_member.cpp ] [ compile test_has_static_member_compile.cpp ] [ compile-fail test_has_static_member_fail.cpp ] [ compile-fail test_has_static_member_fail2.cpp ] ; # # Static member data # alias ttismd : [ run test_has_static_mem_data.cpp ] [ compile test_has_static_mem_data_compile.cpp ] [ compile-fail test_has_static_mem_data_fail.cpp ] [ compile-fail test_has_static_mem_data_fail2.cpp ] [ compile-fail test_has_static_mem_data_fail3.cpp ] ; # # Static member functions # alias ttismfn : [ run test_has_static_mem_fun.cpp ] [ compile test_has_static_mem_fun_compile.cpp ] [ compile-fail test_has_static_mem_fun_fail.cpp ] [ compile-fail test_has_static_mem_fun_fail2.cpp ] ; # # Member or static member data # alias ttidata : [ run test_has_data.cpp ] [ compile test_has_data_compile.cpp ] [ compile-fail test_has_data_fail.cpp ] [ compile-fail test_has_data_fail2.cpp ] [ compile-fail test_has_data_fail3.cpp ] [ compile-fail test_has_data_fail4.cpp ] [ compile-fail test_has_data_fail5.cpp ] [ compile-fail test_has_data_fail6.cpp ] ; # # Member or static member function # alias ttifun : [ run test_has_fun.cpp ] [ compile test_has_fun_compile.cpp ] [ compile-fail test_has_fun_fail.cpp ] [ compile-fail test_has_fun_fail2.cpp ] [ compile-fail test_has_fun_fail3.cpp ] [ compile-fail test_has_fun_fail4.cpp ] [ compile-fail test_has_fun_fail5.cpp ] ; # # Templates # alias ttitmp : [ run test_has_template.cpp : : : BOOST_PP_VARIADICS=0 ] [ compile test_has_template_compile.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_fail.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_fail2.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_fail3.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_fail4.cpp : BOOST_PP_VARIADICS=0 ] ; # # Templates, check params # alias ttitmpcp : [ run test_has_template_cp.cpp : : : BOOST_PP_VARIADICS=0 ] [ compile test_has_template_cp_compile.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_cp_fail.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_cp_fail2.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_cp_fail3.cpp : BOOST_PP_VARIADICS=0 ] [ compile-fail test_has_template_cp_fail4.cpp : BOOST_PP_VARIADICS=0 ] ; # # Type # alias ttity : [ run test_has_type.cpp ] [ compile test_has_type_compile.cpp ] [ compile-fail test_has_type_fail.cpp ] [ compile-fail test_has_type_fail2.cpp ] [ compile-fail test_has_type_fail3.cpp ] [ run test_has_type_ct.cpp ] [ compile test_has_type_ct_compile.cpp ] [ compile-fail test_has_type_ct_fail.cpp ] [ compile-fail test_has_type_ct_fail2.cpp ] [ compile-fail test_has_type_ct_fail3.cpp ] [ compile-fail test_has_type_ct_fail4.cpp ] [ compile-fail test_has_type_ct_fail5.cpp ] ; # # Nested type # alias ttimemty : [ run test_mem_type.cpp ] [ compile test_mem_type_compile.cpp ] ; # # All of tti, non-variadic macros # alias ttinovm : ttimfsig ttimfsigcv ttimd ttimfn ttimfncv ttismfsig ttismd ttismfn ttidata ttifun ttitmp ttitmpcp ttity ttimemty ; alias ttitmpv : : gcc 3.4.2 ; alias ttitmpv : : gcc 3.4.5 ; alias ttitmpv : : gcc 4.1.2 ; alias ttitmpv : : gcc 4.2.1 ; # # Templates, variadic macro # alias ttitmpv : [ run test_has_template.cpp : : : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_v ] [ compile test_has_template_compile.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_compile_v ] [ compile-fail test_has_template_fail.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_fail_v ] [ compile-fail test_has_template_fail2.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_fail2_v ] [ compile-fail test_has_template_fail3.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_fail3_v ] [ compile-fail test_has_template_fail4.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_fail4_v ] ; alias ttitmpcpv : : gcc 3.4.2 ; alias ttitmpcpv : : gcc 3.4.5 ; alias ttitmpcpv : : gcc 4.1.2 ; alias ttitmpcpv : : gcc 4.2.1 ; # # Templates, variadic macro, check params, non-variadic syntax # alias ttitmpcpv : [ run test_has_template_cp.cpp : : : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_v ] [ compile test_has_template_cp_compile.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_compile_v ] [ compile-fail test_has_template_cp_fail.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_fail_v ] [ compile-fail test_has_template_cp_fail2.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_fail2_v ] [ compile-fail test_has_template_cp_fail3.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_fail3_v ] [ compile-fail test_has_template_cp_fail4.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 : test_has_template_cp_fail4_v ] ; alias ttitmpcpvm : : gcc 3.4.2 ; alias ttitmpcpvm : : gcc 3.4.5 ; alias ttitmpcpvm : : gcc 4.1.2 ; alias ttitmpcpvm : : gcc 4.2.1 ; # # Templates, variadic macro, check params, variadic syntax # alias ttitmpcpvm : [ run test_vm_has_template_cp.cpp : : : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] [ compile test_vm_has_template_cp_compile.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] [ compile-fail test_vm_has_template_cp_fail.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] [ compile-fail test_vm_has_template_cp_fail2.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] [ compile-fail test_vm_has_template_cp_fail3.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] [ compile-fail test_vm_has_template_cp_fail4.cpp : gcc:-std=c++0x gcc-4.3.0:-U__STRICT_ANSI__ gcc-4.4.0:-U__STRICT_ANSI__ gcc-4.4.7:-U__STRICT_ANSI__ BOOST_PP_VARIADICS=1 ] ; # # Templates, non-variadic macro # alias ttitemplate : ttitmp ttitmpcp ; # # Templates, variadic macro # alias ttivm : ttitmpv ttitmpcpv ttitmpcpvm ; # # All templates # alias ttitemplate_all : ttitemplate ttivm ; # # All tests # alias tti : ttinovm ttivm ;