]> granicus.if.org Git - llvm/commit
[FileCheck] Use ASSERT for fatal unit tests
authorThomas Preud'homme <thomasp@graphcore.ai>
Wed, 24 Jul 2019 12:38:34 +0000 (12:38 +0000)
committerThomas Preud'homme <thomasp@graphcore.ai>
Wed, 24 Jul 2019 12:38:34 +0000 (12:38 +0000)
commit3381a75555e34958a4977a246d0cd5a2c2385051
treebaaa555a64426fcbe003ba826c80659aa894ef3c
parentf588ed530cf2bae6e0bbed906898d713a085b4bc
[FileCheck] Use ASSERT for fatal unit tests

Summary:
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.

Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk

Subscribers: JonChesterfield, rogfer01, hfinkel, kristina, rnk, tra, arichardson, grimar, dblaikie, probinson, llvm-commits, hiraditya

Tags: #llvm

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

llvm-svn: 366862

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366899 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/FileCheckTest.cpp