libstdc++: Fix a few !HOSTED test regressions
commit450eb6b3b5b544d26da2535228ce03f9656a13a5
authorArsen Arsenović <arsen@aarsen.me>
Tue, 10 Jan 2023 10:03:05 +0000 (10 11:03 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 13 Jan 2023 13:34:21 +0000 (13 13:34 +0000)
tree37a9d34055bbbb98e9f590f9e6d4fc91f087e881
parent42d3f74323800d2ce5853dfb9180a5be1ff28d04
libstdc++: Fix a few !HOSTED test regressions

libstdc++-v3/ChangeLog:

* testsuite/20_util/to_chars/version.cc: Mark hosted-only.
* testsuite/20_util/uses_allocator/lwg3677.cc: Ditto.
* testsuite/20_util/weak_ptr/cons/self_move.cc: Ditto.
* testsuite/std/ranges/adaptors/as_rvalue/1.cc: Replace usage of
std::make_unique with a freestanding-compatible wrapper around
unique_ptr.
* testsuite/21_strings/basic_string_view/operations/contains/char.cc:
Don't test for presence of __cpp_lib_string_contains on !HOSTED.
* testsuite/21_strings/basic_string_view/operations/contains/char/2.cc:
Ditto.
* testsuite/std/ranges/version_c++23.cc: Don't test for presence
of __cpp_lib_ranges in !HOSTED.
libstdc++-v3/testsuite/20_util/to_chars/version.cc
libstdc++-v3/testsuite/20_util/uses_allocator/lwg3677.cc
libstdc++-v3/testsuite/20_util/weak_ptr/cons/self_move.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/contains/char.cc
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/contains/char/2.cc
libstdc++-v3/testsuite/std/ranges/adaptors/as_rvalue/1.cc
libstdc++-v3/testsuite/std/ranges/version_c++23.cc