projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a6d12
)
[lit] Allow disabling an entire gtest suite, as is done in tsan
author
Reid Kleckner
<reid@kleckner.net>
Tue, 7 Apr 2015 18:14:10 +0000
(18:14 +0000)
committer
Reid Kleckner
<reid@kleckner.net>
Tue, 7 Apr 2015 18:14:10 +0000
(18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234336
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/formats/googletest.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/formats/googletest.py
b/utils/lit/lit/formats/googletest.py
index a1ecced52a8e5863019fc536357a4a140571e9ed..3ce57917113aa9bd9dd03d229f5bf320dbf4e3fd 100644
(file)
--- a/
utils/lit/lit/formats/googletest.py
+++ b/
utils/lit/lit/formats/googletest.py
@@
-53,7
+53,8
@@
class GoogleTest(TestFormat):
ln = ln[index*2:]
if ln.endswith('.'):
nested_tests.append(ln)
- elif ln.startswith('DISABLED_'):
+ elif any([name.startswith('DISABLED_')
+ for name in nested_tests + [ln]]):
# Gtest will internally skip these tests. No need to launch a
# child process for it.
continue