[all-commits] [llvm/llvm-project] b82dcb: [libc++] Move all the remaining .fail.cpp tests to...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Jul 3 06:41:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b82dcb624e6bfa58ed566511cb564f8f201fa62e
      https://github.com/llvm/llvm-project/commit/b82dcb624e6bfa58ed566511cb564f8f201fa62e
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    R libcxx/test/libcxx/containers/unord/unord.set/missing_hash_specialization.fail.cpp
    A libcxx/test/libcxx/containers/unord/unord.set/missing_hash_specialization.verify.cpp
    R libcxx/test/libcxx/depr/exception.unexpected/unexpected_disabled_cpp17.fail.cpp
    A libcxx/test/libcxx/depr/exception.unexpected/unexpected_disabled_cpp17.verify.cpp
    R libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.fail.cpp
    A libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.verify.cpp
    R libcxx/test/libcxx/utilities/variant/variant.variant/variant.helper/variant_alternative.fail.cpp
    A libcxx/test/libcxx/utilities/variant/variant.variant/variant.helper/variant_alternative.verify.cpp
    R libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.fail.cpp
    A libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.verify.cpp
    R libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.fail.cpp
    A libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.verify.cpp
    R libcxx/test/std/containers/associative/map/map.cons/deduct.fail.cpp
    A libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
    R libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.fail.cpp
    A libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
    R libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.fail.cpp
    A libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
    R libcxx/test/std/containers/associative/set/set.cons/deduct.fail.cpp
    A libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
    R libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.fail.cpp
    A libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
    R libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.fail.cpp
    A libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
    R libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.fail.cpp
    A libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
    A libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
    A libcxx/test/std/containers/sequences/array/array.creation/to_array.verify.cpp
    R libcxx/test/std/containers/sequences/array/array.fill/fill.fail.cpp
    A libcxx/test/std/containers/sequences/array/array.fill/fill.verify.cpp
    R libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp
    A libcxx/test/std/containers/sequences/array/array.swap/swap.verify.cpp
    R libcxx/test/std/containers/sequences/deque/deque.cons/deduct.fail.cpp
    A libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.fail.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/list/list.cons/deduct.fail.cpp
    A libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/vector/vector.cons/deduct.fail.cpp
    A libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
    R libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
    A libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.verify.cpp
    R libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.fail.cpp
    A libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
    R libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.fail.cpp
    A libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
    R libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.fail.cpp
    A libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
    R libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.fail.cpp
    A libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
    R libcxx/test/std/containers/views/views.span/span.cons/span.fail.cpp
    A libcxx/test/std/containers/views/views.span/span.cons/span.verify.cpp
    R libcxx/test/std/experimental/memory/memory.resource/construct.fail.cpp
    A libcxx/test/std/experimental/memory/memory.resource/construct.verify.cpp
    R libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/private_members.fail.cpp
    A libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/private_members.verify.cpp
    R libcxx/test/std/experimental/utilities/meta/meta.detect/nonesuch.fail.cpp
    A libcxx/test/std/experimental/utilities/meta/meta.detect/nonesuch.verify.cpp
    R libcxx/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp
    A libcxx/test/std/input.output/filesystems/class.path/path.nonmember/append_op.verify.cpp
    R libcxx/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp
    A libcxx/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.verify.cpp
    R libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.fail.cpp
    A libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.cons/copy.verify.cpp
    R libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.fail.cpp
    A libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/copy.verify.cpp
    R libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp
    A libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.verify.cpp
    R libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp
    A libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.verify.cpp
    R libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp
    A libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.verify.cpp
    R libcxx/test/std/numerics/complex.number/cmplx.over/UDT_is_rejected.fail.cpp
    A libcxx/test/std/numerics/complex.number/cmplx.over/UDT_is_rejected.verify.cpp
    R libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.fail.cpp
    A libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.verify.cpp
    R libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp
    A libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.verify.cpp
    R libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp
    A libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
    R libcxx/test/std/strings/basic.string.hash/char_type_hash.fail.cpp
    A libcxx/test/std/strings/basic.string.hash/char_type_hash.verify.cpp
    R libcxx/test/std/strings/string.view/char.bad.fail.cpp
    A libcxx/test/std/strings/string.view/char.bad.verify.cpp
    R libcxx/test/std/strings/string.view/string.view.hash/char_type.hash.fail.cpp
    A libcxx/test/std/strings/string.view/string.view.hash/char_type.hash.verify.cpp
    R libcxx/test/std/thread/futures/futures.task/futures.task.members/assign_copy.fail.cpp
    A libcxx/test/std/thread/futures/futures.task/futures.task.members/assign_copy.verify.cpp
    R libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor1.fail.cpp
    A libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor1.verify.cpp
    R libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.fail.cpp
    A libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor_copy.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/assign.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/copy.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.verify.cpp
    R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.fail.cpp
    A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.verify.cpp
    R libcxx/test/std/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.fail.cpp
    A libcxx/test/std/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.verify.cpp
    R libcxx/test/std/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.fail.cpp
    A libcxx/test/std/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.verify.cpp
    R libcxx/test/std/time/time.hms/hhmmss.fail.cpp
    A libcxx/test/std/time/time.hms/hhmmss.verify.cpp
    R libcxx/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.fail.cpp
    A libcxx/test/std/utilities/any/any.nonmembers/any.cast/any_cast_request_invalid_value_category.verify.cpp
    R libcxx/test/std/utilities/any/any.nonmembers/any.cast/reference_types.fail.cpp
    A libcxx/test/std/utilities/any/any.nonmembers/any.cast/reference_types.verify.cpp
    R libcxx/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp
    A libcxx/test/std/utilities/charconv/charconv.from.chars/integral.bool.verify.cpp
    R libcxx/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp
    A libcxx/test/std/utilities/charconv/charconv.to.chars/integral.bool.verify.cpp
    R libcxx/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp
    A libcxx/test/std/utilities/intseq/intseq.make/make_integer_seq.verify.cpp
    R libcxx/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.compile.fail.cpp
    A libcxx/test/std/utilities/intseq/intseq.make/make_integer_seq_fallback.verify.cpp
    R libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/io.fail.cpp
    A libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/io.verify.cpp
    R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.fail.cpp
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.verify.cpp
    R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_arrow.fail.cpp
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_arrow.verify.cpp
    R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.fail.cpp
    A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/op_bracket.verify.cpp
    R libcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.fail.cpp
    A libcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.verify.cpp
    R libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp
    A libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.verify.cpp
    R libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.fail.cpp
    A libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ctor.verify.cpp
    R libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp
    A libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp
    R libcxx/test/std/utilities/optional/optional.object/optional_requires_destructible_object.fail.cpp
    A libcxx/test/std/utilities/optional/optional.object/optional_requires_destructible_object.verify.cpp
    R libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/pointer_deleter.fail.cpp
    A libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/pointer_deleter.verify.cpp
    R libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/reset.runtime.fail.cpp
    A libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/reset.runtime.verify.cpp
    R libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/op_subscript.single.fail.cpp
    A libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/op_subscript.single.verify.cpp
    R libcxx/test/std/utilities/utility/forward/forward.fail.cpp
    A libcxx/test/std/utilities/utility/forward/forward.verify.cpp
    R libcxx/test/std/utilities/utility/forward/move.fail.cpp
    A libcxx/test/std/utilities/utility/forward/move.verify.cpp
    R libcxx/test/std/utilities/utility/mem.res/mem.res/construct.fail.cpp
    A libcxx/test/std/utilities/utility/mem.res/mem.res/construct.verify.cpp
    R libcxx/test/std/utilities/utility/mem.res/mem.res/mem.res.private/private_members.fail.cpp
    A libcxx/test/std/utilities/utility/mem.res/mem.res/mem.res.private/private_members.verify.cpp
    R libcxx/test/std/utilities/utility/mem.res/mem.res/mem.res.private/protected_members.fail.cpp
    A libcxx/test/std/utilities/utility/mem.res/mem.res/mem.res.private/protected_members.verify.cpp
    R libcxx/test/std/utilities/utility/utility.intcmp/intcmp.fail.cpp
    A libcxx/test/std/utilities/utility/utility.intcmp/intcmp.verify.cpp
    R libcxx/test/std/utilities/variant/variant.helpers/variant_alternative.fail.cpp
    A libcxx/test/std/utilities/variant/variant.helpers/variant_alternative.verify.cpp
    R libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
    A libcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.verify.cpp
    R libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.fail.cpp
    A libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.verify.cpp
    R libcxx/test/std/utilities/variant/variant.variant/variant_array.fail.cpp
    A libcxx/test/std/utilities/variant/variant.variant/variant_array.verify.cpp
    R libcxx/test/std/utilities/variant/variant.variant/variant_empty.fail.cpp
    A libcxx/test/std/utilities/variant/variant.variant/variant_empty.verify.cpp
    R libcxx/test/std/utilities/variant/variant.variant/variant_reference.fail.cpp
    A libcxx/test/std/utilities/variant/variant.variant/variant_reference.verify.cpp
    R libcxx/test/std/utilities/variant/variant.variant/variant_void.fail.cpp
    A libcxx/test/std/utilities/variant/variant.variant/variant_void.verify.cpp

  Log Message:
  -----------
  [libc++] Move all the remaining .fail.cpp tests to .verify.cpp

I made sure they all had some expected-error output in them. Many of
these tests would be better implemented as a positive test using SFINAE,
but this is beyond the scope of this patch.

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




More information about the All-commits mailing list