diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-09 22:42:55 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-09 22:42:55 +0000 |
| commit | d3d017cf00714c7d376a3cf87d2a17002e12cac7 (patch) | |
| tree | b8403ec0231bf6ccb16b84428152b17d67193094 /llvm/docs | |
| parent | 669fc86ed0a421b8931e0bde5d41ece76e29a740 (diff) | |
| download | bcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.tar.gz bcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.zip | |
Reduce verbiage of lit.local.cfg files
We can just split targets_to_build in one place and make it immutable.
llvm-svn: 210496
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/TestingGuide.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst index f9222372c2a..481be55b576 100644 --- a/llvm/docs/TestingGuide.rst +++ b/llvm/docs/TestingGuide.rst @@ -304,8 +304,7 @@ For instance, on ``test/CodeGen/ARM``, the ``lit.local.cfg`` is: .. code-block:: python config.suffixes = ['.ll', '.c', '.cpp', '.test'] - targets = set(config.root.targets_to_build.split()) - if not 'ARM' in targets: + if not 'ARM' in config.root.targets: config.unsupported = True Other platform-specific tests are those that depend on a specific feature |

