Fix dg-prune-output regex for versioned namespace

François Dumont frs.dumont@gmail.com
Sun Oct 28 21:04:00 GMT 2018


On 10/25/18 1:16 PM, Jonathan Wakely wrote:
> On 24/10/18 21:30 +0200, François Dumont wrote:
>> Some tests dg-prune-output regex need to be adapted to pass when 
>> versioned namespace is activated.
>>
>> I preferred to add the version namespace in the regex rather than 
>> removing namespace qualification. Let me know if you would prefer the 
>> other approach.
>>
>>     * testsuite/23_containers/deque/48101_neg.cc: Add optional version
>>     namespace in dg-prune-output regex.
>>     * testsuite/23_containers/vector/48101_neg.cc: Likewise.
>>     * testsuite/27_io/filesystem/path/io/dr2989.cc: Likewise.
>>
>> Tested under Linux x86_64 with and without versioned namespace.
>>
>> Ok to commit ?
>
> We can just simplify them instead of making them more complicated.

Yes we can, I even proposed it.

So I took it for an ok and after checking your proposal with versioned 
namespace enabled and disabled I comitted it.

     * testsuite/23_containers/deque/48101_neg.cc: Remove dg-prune-output
     'std' from regex pattern for versioned namespace compatibility.
     * testsuite/23_containers/vector/48101_neg.cc: Likewise.
     * testsuite/27_io/filesystem/path/io/dr2989.cc: Likewise.

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: version_nsp.patch
Type: text/x-patch
Size: 1719 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20181028/1349b007/attachment.bin>


More information about the Libstdc++ mailing list