diff options
author | David L. Jones <dlj@google.com> | 2017-06-30 21:58:55 +0000 |
---|---|---|
committer | David L. Jones <dlj@google.com> | 2017-06-30 21:58:55 +0000 |
commit | 13f0fac12fdef681865bdffe16776343ff6929d8 (patch) | |
tree | 98e25d6670389090fce176a4dcae83657c84aeac /llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp | |
parent | c008779918174ced49623af22fc3863a32a833e9 (diff) | |
download | llvm-13f0fac12fdef681865bdffe16776343ff6929d8.zip llvm-13f0fac12fdef681865bdffe16776343ff6929d8.tar.gz llvm-13f0fac12fdef681865bdffe16776343ff6929d8.tar.bz2 |
[lit] Factor out listdir logic shared by different test formats.
Summary:
The lit test formats use largely the same logic for discovering tests. There are
some superficial differences in the logic, which seem reasonable enough to
handle in a single routine.
At a high level, the common goal is "look for files that end with one of these
suffixes, and skip anything starting with a dot." The balance of the logic
specific to ShTest and GoogleTest collapses quite a bit, so that
getTestsInDirectory is only a couple of lines around a call to the new function.
Reviewers: zturner, MatzeB, modocache
Subscribers: sanjoy, llvm-commits
Differential Revision: https://reviews.llvm.org/D34855
llvm-svn: 306895
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp')
0 files changed, 0 insertions, 0 deletions