[libcxx-commits] [PATCH] D126850: [libc++][test] Skip string_view tests for other vendors on older modes

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 1 20:34:15 PDT 2022


jloser created this revision.
jloser added reviewers: ldionne, var-const, Mordante.
Herald added a subscriber: arphaman.
Herald added a project: All.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

`string_view` is supported all the way back to C++03 as an extension in
`libc++`, and so many of the tests run in all standards modes for all vendors.
This is unlikely desired by other standard library vendors using our test suite.
So, disable the tests for vendors other than `libc++` in these older standards
modes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126850

Files:
  libcxx/test/std/strings/string.view/char.bad.fail.cpp
  libcxx/test/std/strings/string.view/string.view.access/back.pass.cpp
  libcxx/test/std/strings/string.view/string.view.access/data.pass.cpp
  libcxx/test/std/strings/string.view/string.view.access/front.pass.cpp
  libcxx/test/std/strings/string.view/string.view.access/index.pass.cpp
  libcxx/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/equal.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/greater.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/greater_equal.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/less.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/less_equal.pass.cpp
  libcxx/test/std/strings/string.view/string.view.comparison/not_equal.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/assign.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/default.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_iterator_sentinel.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_range.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_string.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_string1.compile.fail.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_string2.compile.fail.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_not_of_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_first_of_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_not_of_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_last_of_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.hash/char_type.hash.fail.cpp
  libcxx/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp
  libcxx/test/std/strings/string.view/string.view.hash/string_view.pass.cpp
  libcxx/test/std/strings/string.view/string.view.io/stream_insert_decl_present.compile.pass.cpp
  libcxx/test/std/strings/string.view/string.view.iterators/begin.pass.cpp
  libcxx/test/std/strings/string.view/string.view.iterators/end.pass.cpp
  libcxx/test/std/strings/string.view/string.view.iterators/rbegin.pass.cpp
  libcxx/test/std/strings/string.view/string.view.iterators/rend.pass.cpp
  libcxx/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp
  libcxx/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp
  libcxx/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp
  libcxx/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
  libcxx/test/std/strings/string.view/string.view.ops/substr.pass.cpp
  libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp
  libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp
  libcxx/test/std/strings/string.view/string_view.literals/literal.pass.cpp
  libcxx/test/std/strings/string.view/string_view.literals/literal.verify.cpp
  libcxx/test/std/strings/string.view/traits_mismatch.compile.fail.cpp
  libcxx/test/std/strings/string.view/trivially_copyable.compile.pass.cpp
  libcxx/test/std/strings/string.view/types.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126850.433636.patch
Type: text/x-patch
Size: 39059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220602/4d15c320/attachment-0001.bin>


More information about the libcxx-commits mailing list