Re: [PATCH] libstdc++: testsuite: skip fs last_write_time tests if not available

2022-06-23 Thread Jonathan Wakely via Gcc-patches
On Thu, 23 Jun 2022 at 12:05, Alexandre Oliva wrote: > > On Jun 22, 2022, Jonathan Wakely wrote: > > > And again, this could be a macro defined in testsuite_fs.h > > Done. (it depends on dg changes in the symlink patch) > > Regstrapped on x86_64-linux-gnu, also tested with a cross to > aarch64-r

Re: [PATCH] libstdc++: testsuite: skip fs last_write_time tests if not available

2022-06-23 Thread Alexandre Oliva via Gcc-patches
On Jun 22, 2022, Jonathan Wakely wrote: > And again, this could be a macro defined in testsuite_fs.h Done. (it depends on dg changes in the symlink patch) Regstrapped on x86_64-linux-gnu, also tested with a cross to aarch64-rtems6. Ok to install? libstdc++: testsuite: skip fs space tests on

Re: [PATCH] libstdc++: testsuite: skip fs last_write_time tests if not available

2022-06-22 Thread Jonathan Wakely via Gcc-patches
On Wed, 22 Jun 2022 at 07:35, Alexandre Oliva via Libstdc++ wrote: > > > The last_write_time functions are defined in ways that are useful, or > that fail immediately, depending on various macros. When they fail > immediately, the filesystem last_write_time.cc tests fail noisily, but > the fail i

[PATCH] libstdc++: testsuite: skip fs last_write_time tests if not available

2022-06-21 Thread Alexandre Oliva via Gcc-patches
The last_write_time functions are defined in ways that are useful, or that fail immediately, depending on various macros. When they fail immediately, the filesystem last_write_time.cc tests fail noisily, but the fail is entirely expected. Define HAVE_LWT in the last_write_time.cc tests, accordi