[libc++] Add .verify.cpp tests to the new format
authorLouis Dionne <ldionne@apple.com>
Tue, 14 Apr 2020 16:51:39 +0000 (12:51 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 14 Apr 2020 18:49:51 +0000 (14:49 -0400)
commit35bbf3bb7168a3d8062500b63af87079f6519794
tree2612b3f90f68d582ec2064d74aa33c7f47d1f002
parentc228c717aaa1602f0cdfcba77416a9eb1fb0024c
[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.
libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/compile-error.compile.fail.cpp
libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics-unmarked.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/selftest/newformat/verify.cpp/no-diagnostics.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/selftest/newformat/verify.cpp/right-diagnostic.verify.cpp [new file with mode: 0644]
libcxx/test/libcxx/selftest/newformat/verify.cpp/wrong-diagnostic.verify.cpp [moved from libcxx/test/libcxx/selftest/newformat/compile.fail.cpp/wrong-expected.compile.fail.cpp with 80% similarity]
libcxx/utils/libcxx/test/newformat.py