From 8558fd66ef27243547222a6b7e159b0376441fe1 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 29 Dec 2014 16:27:08 +0300 Subject: [PATCH] remove the always failing testing_crossmodule_anonymous_no_rtti test from test suite and add notes for users about emulation limitations testing --- doc/type_index.qbk | 4 +++- test/Jamfile.v2 | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/type_index.qbk b/doc/type_index.qbk index 4382b90..c890d1c 100644 --- a/doc/type_index.qbk +++ b/doc/type_index.qbk @@ -353,7 +353,9 @@ TypeIndex has been tested and successfully work on many compilers. assert(foo_a() != foo_b()); // will fail on some compilers ``` - *Compilers that have that limitation:* GCC, CLANG. + *Compilers that have that limitation:* GCC, CLANG, Intel. + + *Test:* you can test this issue by runing the `testing_crossmodule_anonymous_no_rtti` that can be build if you run `../../../b2` in `type_index/test/` folder. ] [section Define the BOOST_TYPE_INDEX_FUNCTION_SIGNATURE macro] diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 2e69e48..a9f1e85 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -35,6 +35,7 @@ obj test_lib_rtti_compat-obj : test_lib.cpp : shared $(nortti) $(compat) ; lib test_lib_nortti_compat : test_lib_nortti_compat-obj : shared $(nortti) $(compat) ; lib test_lib_rtti_compat : test_lib_rtti_compat-obj : shared $(nortti) $(compat) ; +exe testing_crossmodule_anonymous_no_rtti : testing_crossmodule_anonymous.cpp test_lib_anonymous_nortti : off $(norttidefines) ; test-suite type_index : @@ -44,7 +45,7 @@ test-suite type_index [ run testing_crossmodule.cpp test_lib_rtti ] [ run testing_crossmodule.cpp test_lib_nortti : : : off $(norttidefines) : testing_crossmodule_no_rtti ] [ run testing_crossmodule_anonymous.cpp test_lib_anonymous_rtti ] - [ run testing_crossmodule_anonymous.cpp test_lib_anonymous_nortti : : : off $(norttidefines) : testing_crossmodule_anonymous_no_rtti ] + [ compile-fail type_index_test_ctti_copy_fail.cpp ] [ compile-fail type_index_test_ctti_construct_fail.cpp ] [ compile type_index_test_ctti_alignment.cpp ]