[all-commits] [llvm/llvm-project] 35bbf3: [libc++] Add .verify.cpp tests to the new format

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Apr 14 11:50:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 35bbf3bb7168a3d8062500b63af87079f6519794
      https://github.com/llvm/llvm-project/commit/35bbf3bb7168a3d8062500b63af87079f6519794
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-error.compile.fail.cpp
    R libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/wrong-expected.compile.fail.cpp
    A libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics-unmarked.verify.cpp
    A libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics.verify.cpp
    A libcxx/test/libcxx/selftest/newformat/verify.cpp/right-diagnostic.verify.cpp
    A libcxx/test/libcxx/selftest/newformat/verify.cpp/wrong-diagnostic.verify.cpp
    M libcxx/utils/libcxx/test/newformat.py

  Log Message:
  -----------
  [libc++] Add .verify.cpp tests to the new format

With this patch, .verify.cpp tests explicitly require clang-verify, but
no other test types require clang-verify out of the box. This will allow
making several .fail.cpp tests that don't have any clang-verify markup
to be just .compile.fail.cpp tests, which in turn should allow removing
a long standing workaround that requires parsing tests to detect whether
they have any clang-verify markup in them.




More information about the All-commits mailing list