[FileCheck] Use ASSERT for fatal unit tests
authorThomas Preud'homme <thomasp@graphcore.ai>
Tue, 23 Jul 2019 22:41:51 +0000 (22:41 +0000)
committerThomas Preud'homme <thomasp@graphcore.ai>
Tue, 23 Jul 2019 22:41:51 +0000 (22:41 +0000)
commitfb596735fe9c1ea22afb1727cbbba449bd6334c2
tree3894acdfff22be10e7469178f9fcf49925cc36c7
parentba4e8d791342219c072a5c8de8a3f41fbb53c6be
[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
llvm/unittests/Support/FileCheckTest.cpp