Make tests failing with version namespace UNSUPPORTED

François Dumont frs.dumont@gmail.com
Wed Sep 27 20:40:00 GMT 2017


Hi

     I would like to propose to add a new dg-require-normal-namespace 
attribute to make several tests failing when version namespace is active 
UNSUPPORTED. It is like dg-require-normal-mode but also consider when 
version namespace is being used.

     I still need to complete execution of all tests with version 
namespace but I think that all tests will be ok then.

     I have also updated the code used for dg-require-normal-mode to 
include c++config.h in case users are changing this file to activate any 
mode.

     * testsuite/lib/libstdc++.exp ([check_v3_target_normal_namespace]): 
New.
     * testsuite/lib/dg-options.exp ([dg-require-normal-namespace]): New,
     use latter.
     * testsuite/23_containers/headers/bitset/synopsis.cc: Replace
     dg-require-normal-mode with latter.
     * testsuite/23_containers/headers/deque/synopsis.cc: Likewise.
     * testsuite/23_containers/headers/forward_list/synopsis.cc: Likewise.
     * testsuite/23_containers/headers/list/synopsis.cc: Likewise.
     * testsuite/23_containers/headers/map/synopsis.cc: Likewise.
     * testsuite/23_containers/headers/set/synopsis.cc: Likewise.
     * testsuite/23_containers/headers/vector/synopsis.cc: Likewise.
     * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Likewise.
     * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: 
Likewise.
     * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: 
Likewise.
     * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.

     Ok to commit ?

François


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dg-require-normal-namespace.patch
Type: text/x-patch
Size: 8930 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20170927/a1b115f3/attachment.bin>


More information about the Libstdc++ mailing list