diff options
author | Hans Wennborg <hans@chromium.org> | 2024-05-03 15:06:18 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2024-05-03 15:09:58 +0200 |
commit | 9c8b0d4ef6308ca0a74151c14c01f972e8db8cda (patch) | |
tree | b7138f30a7ca4aca17f418ae7cd8500bc83ac310 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 327bfc971e4dce3f6798843c92406cda95c07ba1 (diff) | |
download | llvm-9c8b0d4ef6308ca0a74151c14c01f972e8db8cda.zip llvm-9c8b0d4ef6308ca0a74151c14c01f972e8db8cda.tar.gz llvm-9c8b0d4ef6308ca0a74151c14c01f972e8db8cda.tar.bz2 |
Use FileCheck in new clang-tidy/infrastructure/config-files.cpp tests
The test was failing spuriously on some machines [1]. Converting from
grep to FileCheck makes it easier to see what's happening, and also grep
is discouraged in tests [2].
Also drop the negative test: checking for the expected output is better.
1. https://crbug.com/338535754
2. https://llvm.org/docs/TestingGuide.html#:~:text=.%20%5BThe-,usage%20of%20grep,-in%20RUN%20lines
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions