[PATCH] D64921: [FileCheck] Use ASSERT for fatal unit tests

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 06:44:27 PDT 2019


thopre created this revision.
thopre added reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk.
thopre added a project: LLVM.

A number of EXPECT statements in FileCheck's unit tests are dependent
from results of other values being tested. This commit changes those
earlier test to use ASSERT instead of EXPECT to avoid cascade errors
when they are all related to the same issue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64921

Files:
  llvm/unittests/Support/FileCheckTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64921.210551.patch
Type: text/x-patch
Size: 12872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/a7444e74/attachment-0001.bin>


More information about the llvm-commits mailing list