| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 # coding=utf-8 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 ### |
| 8 # Run me to generate the documentation! |
| 9 ### |
| 10 |
| 11 """Google Test specific tracing and isolation infrastructure. |
| 12 |
| 13 You will find more general information in the directory above. |
| 14 """ |
| 15 |
| 16 import os |
| 17 import sys |
| 18 |
| 19 |
| 20 def main(): |
| 21 for i in sorted(os.listdir(os.path.dirname(os.path.abspath(__file__)))): |
| 22 if not i.endswith('.py') or i == 'PRESUBMIT.py': |
| 23 continue |
| 24 module = __import__(i[:-3]) |
| 25 if hasattr(module, '__doc__'): |
| 26 print module.__name__ |
| 27 print ''.join(' %s\n' % i for i in module.__doc__.splitlines()) |
| 28 return 0 |
| 29 |
| 30 |
| 31 if __name__ == '__main__': |
| 32 sys.exit(main()) |
| OLD | NEW |