diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-06-23 23:20:51 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-06-23 23:28:14 -0300 |
commit | b931c6874e846cd4eba1c31112593d33ff4bf1f1 (patch) | |
tree | 06855e6735715cebed8d051e881cf4d36b148781 /gcc | |
parent | 9f7f25bb35c1be3e5c8ef9325c03bb01a2d66963 (diff) | |
download | gcc-b931c6874e846cd4eba1c31112593d33ff4bf1f1.zip gcc-b931c6874e846cd4eba1c31112593d33ff4bf1f1.tar.gz gcc-b931c6874e846cd4eba1c31112593d33ff4bf1f1.tar.bz2 |
libstdc++: testsuite: skip fs space tests on dummy implementations
The do_space function is defined in ways that are useful, or that fail
immediately, depending on various macros. When it fails immediately,
the filesystem space.cc tests fail noisily, but the fail is entirely
expected.
Define NO_SPACE in testsuite_fs.h, according to the macros that select
implementations of do_space, and use it to skip tests that are
expected to fail, through a new dg-require.
for libstdc++-v3/ChangeLog
* testsuite/util/testsuite_fs.h (NO_SPACE): Define if
appropriate.
* testsuite/lib/libstdc++.exp (check_v3_target_fs_space): New.
* testsuite/lib/dg-options.exp (dg-require-target-fs-space):
New.
* testsuite/27_io/filesystem/operations/space.cc: Require
target-fs-space.
* testsuite/experimental/filesystem/operations/space.cc:
Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions