Re: Polish libstdc++ 'dg-final' action 'file-io-diff' (was: [PATCH 4/8] libstdc++: Add file-io-diff to replace @diff@ markup in I/O tests)

2024-07-29 Thread Jonathan Wakely
On Mon, 29 Jul 2024 at 17:02, Thomas Schwinge wrote: > > Hi Jonathan! > > On 2024-07-22T17:28:38+0100, Jonathan Wakely wrote: > > This adds a new dg-final action to compare two files after a test has > > run, [...] > > Nice! > > > --- a/libstdc++-v3/testsuite/lib/libstdc++.exp > > +++ b/libstdc++

Polish libstdc++ 'dg-final' action 'file-io-diff' (was: [PATCH 4/8] libstdc++: Add file-io-diff to replace @diff@ markup in I/O tests)

2024-07-29 Thread Thomas Schwinge
Hi Jonathan! On 2024-07-22T17:28:38+0100, Jonathan Wakely wrote: > This adds a new dg-final action to compare two files after a test has > run, [...] Nice! > --- a/libstdc++-v3/testsuite/lib/libstdc++.exp > +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp > +# Compare output file written by test

[PATCH 4/8] libstdc++: Add file-io-diff to replace @diff@ markup in I/O tests

2024-07-22 Thread Jonathan Wakely
Tested x86_64-linux. -- >8 -- This adds a new dg-final action to compare two files after a test has run, so that we can verify that fstream operations produce the expected results. With this change, all uses of @diff@ that seem potentially useful have been converted to actually compare the files