Skip to content

Commit 5d8fc37

Browse files
committed
Tests: Try to fix CI
1 parent 7c41f62 commit 5d8fc37

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

libcxx/test/std/input.output/span.streams/ispanstream/ispanstream.cons/ros.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@
3232
template <typename CharT, typename TraitsT = std::char_traits<CharT>>
3333
void test_sfinae() {
3434
using SpStream =
35+
#ifndef TEST_HAS_NO_NASTY_STRING
3536
std::conditional_t<std::same_as<CharT, nasty_char>,
3637
std::basic_ispanstream<nasty_char, nasty_char_traits>,
3738
std::basic_ispanstream<CharT, TraitsT>>;
39+
#else
40+
std::basic_ispanstream<CharT, TraitsT>;
41+
#endif
3842

3943
// Non-const convertible
4044
static_assert(std::constructible_from<SpStream, ReadOnlySpan<CharT>>);

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,7 @@ def add_version_header(tc):
13381338
"regex": ["UNSUPPORTED: no-localization"],
13391339
"semaphore": ["UNSUPPORTED: no-threads"],
13401340
"shared_mutex": ["UNSUPPORTED: no-threads"],
1341+
"spanstream": ["UNSUPPORTED: no-localization"],
13411342
"sstream": ["UNSUPPORTED: no-localization"],
13421343
"syncstream": ["UNSUPPORTED: no-localization"],
13431344
"stdatomic.h": ["UNSUPPORTED: no-threads"],

0 commit comments

Comments
 (0)