[all-commits] [llvm/llvm-project] 4fc502: [libc++][test] Skip string_view tests for other ve...

Joseph Loser via All-commits all-commits at lists.llvm.org
Fri Jun 3 12:52:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fc502368ad002e5b8deff87288eb0627f3e6bec
      https://github.com/llvm/llvm-project/commit/4fc502368ad002e5b8deff87288eb0627f3e6bec
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

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

  Log Message:
  -----------
  [libc++][test] Skip string_view tests for other vendors on older modes

`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.

Differential Revision: https://reviews.llvm.org/D126850




More information about the All-commits mailing list