diff options
author | Jan Wen Voung <jvoung@google.com> | 2013-03-08 22:42:02 +0000 |
---|---|---|
committer | Jan Wen Voung <jvoung@google.com> | 2013-03-08 22:42:02 +0000 |
commit | 325de0ca0cdcde7b4ff9eef4796c48685572c60f (patch) | |
tree | e871b420eb4d4949704137bb49670be1ee685776 | |
parent | 0918989f0eed08870e50418df97d1486d977d773 (diff) |
Move clang tests that depend on llvm/ADT/Statistic.h to a subdir.
The subdirectory has a lit.local.cfg that marks the tests unsupported
if llvm was built without Asserts. There will be a patch in LLVM
that disables statistics gathering when built without Asserts so
that full Release builds can be faster. Statistics can also
be enabled by building with -DLLVM_ENABLE_STATS.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176730 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/Stats/lit.local.cfg | 4 | ||||
-rw-r--r-- | test/Analysis/Stats/objc-method-coverage.m (renamed from test/Analysis/objc-method-coverage.m) | 0 | ||||
-rw-r--r-- | test/Analysis/Stats/stats.c (renamed from test/Analysis/stats.c) | 0 |
3 files changed, 4 insertions, 0 deletions
diff --git a/test/Analysis/Stats/lit.local.cfg b/test/Analysis/Stats/lit.local.cfg new file mode 100644 index 0000000000..a36c70e00e --- /dev/null +++ b/test/Analysis/Stats/lit.local.cfg @@ -0,0 +1,4 @@ +config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s'] + +if 'asserts' not in config.root.available_features: + config.unsupported = True diff --git a/test/Analysis/objc-method-coverage.m b/test/Analysis/Stats/objc-method-coverage.m index cb66bff19b..cb66bff19b 100644 --- a/test/Analysis/objc-method-coverage.m +++ b/test/Analysis/Stats/objc-method-coverage.m diff --git a/test/Analysis/stats.c b/test/Analysis/Stats/stats.c index 6beadbeb41..6beadbeb41 100644 --- a/test/Analysis/stats.c +++ b/test/Analysis/Stats/stats.c |