gcc/libstdc++-v3
Alexandre Oliva f01cf5eaa0 libstdc++: testsuite: skip fs last_write_time tests if dummy
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 NO_LAST_WRITE_TIME in the last_write_time.cc tests, according
to the macros that select implementations of last_write_time, and use
it through the new dg-require-target-fs-lwt to skip tests that are
expected to fail.


for  libstdc++-v3/ChangeLog

	* testsuite/util/testsuite_fs.h (NO_LAST_WRITE_TIME): Define
	when appropriate.
	* testsuite/lib/libstdc++.exp
	(check_v3_target_fs_last_write_time): New.
	* testsuite/lib/dg-options.exp (dg-require-target-fs-lwt):
	New.
	* testsuite/27_io/filesystem/operations/last_write_time.cc:
	Skip the test if the features are unavailable.
	* testsuite/experimental/filesystem/operations/last_write_time.cc:
	Likewise.
2022-06-23 23:28:14 -03:00
..
config libstdc++: Remove whitespace before preprocessor directives 2022-05-12 18:04:01 +01:00
doc libstdc++: Fix hyperlink in docs 2022-05-16 14:54:07 +01:00
include libstdc++: Support constexpr global std::string for size < 15 [PR105995] 2022-06-16 20:20:40 +01:00
libsupc++ libstdc++: eh_globals: gthreads: reset _S_init before deleting key 2022-06-21 23:11:02 -03:00
po
python libstdc++: Fix atomic and error_code printers for versioned namespace 2022-05-26 22:29:04 +01:00
scripts
src libstdc++: Move std::iostream_category() definition to new file 2022-05-26 22:28:57 +01:00
testsuite libstdc++: testsuite: skip fs last_write_time tests if dummy 2022-06-23 23:28:14 -03:00
acinclude.m4 libstdc++: Fix syntax error in libbacktrace configuration 2022-04-19 11:58:30 +01:00
aclocal.m4
ChangeLog Daily bump. 2022-06-24 00:16:41 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
config.h.in libstdc++: Prefer to use mmap instead of malloc in libbacktrace 2022-04-12 22:38:31 +01:00
configure libstdc++: Fix syntax error in libbacktrace configuration 2022-04-19 11:58:30 +01:00
configure.ac
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.