Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / tools / swarming_client / googletest / README.py
1 #!/usr/bin/env python
2 # coding=utf-8
3 # Copyright 2013 The Swarming Authors. All rights reserved.
4 # Use of this source code is governed under the Apache License, Version 2.0 that
5 # can be 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 getattr(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())