Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: tools/isolate/README.py

Issue 11045023: Move src/tools/isolate to src/tools/swarm_client as a DEPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use r159961 Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/isolate/PRESUBMIT.py ('k') | tools/isolate/fix_test_cases.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 """Test tracing and isolation infrastructure.
12
13 Scripts are compartmentalized by their name:
14 - trace_*.py: Tracing infrastructure scripts.
15 - isolate_*.py: Executable isolation scripts. (TODO)
16 - *_test_cases.py: Scripts specifically managing GTest executables.
17
18 A few scripts have strict dependency rules:
19 - run_test_cases.py, run_test_from_archive.py, shard.py and trace_inputs.py
20 depends on no other script so they can be run outside the checkout.
21 - The pure tracing scripts (trace_inputs.py and trace_test_cases.py) do not know
22 about isolate infrastructure.
23 - Scripts without _test_cases suffix do not know about GTest.
24 - Scripts without isolate_ prefix do not know about the isolation
25 infrastructure. (TODO)
26
27 See http://dev.chromium.org/developers/testing/isolated-testing for more info.
28 """
29
30 import os
31 import sys
32
33
34 def main():
35 for i in sorted(os.listdir(os.path.dirname(os.path.abspath(__file__)))):
36 if not i.endswith('.py') or i == 'PRESUBMIT.py':
37 continue
38 module = __import__(i[:-3])
39 if hasattr(module, '__doc__'):
40 print module.__name__
41 print ''.join(' %s\n' % i for i in module.__doc__.splitlines())
42 return 0
43
44
45 if __name__ == '__main__':
46 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/isolate/PRESUBMIT.py ('k') | tools/isolate/fix_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698