OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Reads a manifest, creates a tree of hardlinks and runs the test. | 6 """Reads a manifest, creates a tree of hardlinks and runs the test. |
7 | 7 |
8 Keeps a local cache. | 8 Keeps a local cache. |
9 """ | 9 """ |
10 | 10 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 parser.error('Unsupported args %s' % ' '.join(args)) | 301 parser.error('Unsupported args %s' % ' '.join(args)) |
302 | 302 |
303 manifest = json.load(open_remote(options.manifest)) | 303 manifest = json.load(open_remote(options.manifest)) |
304 return run_tha_test( | 304 return run_tha_test( |
305 manifest, os.path.abspath(options.cache), options.remote, | 305 manifest, os.path.abspath(options.cache), options.remote, |
306 options.max_cache_size, options.min_free_space) | 306 options.max_cache_size, options.min_free_space) |
307 | 307 |
308 | 308 |
309 if __name__ == '__main__': | 309 if __name__ == '__main__': |
310 sys.exit(main()) | 310 sys.exit(main()) |
OLD | NEW |