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

Side by Side Diff: client/run_isolated.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 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
« no previous file with comments | « client/libs/logdog/varint.py ('k') | client/swarming.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2012 The LUCI Authors. All rights reserved. 2 # Copyright 2012 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """Runs a command with optional isolated input/output. 6 """Runs a command with optional isolated input/output.
7 7
8 Despite name "run_isolated", can run a generic non-isolated command specified as 8 Despite name "run_isolated", can run a generic non-isolated command specified as
9 args. 9 args.
10 10
11 If input isolated hash is provided, fetches it, creates a tree of hard links, 11 If input isolated hash is provided, fetches it, creates a tree of hard links,
12 appends args to the command in the fetched isolated and runs it. 12 appends args to the command in the fetched isolated and runs it.
13 To improve performance, keeps a local cache. 13 To improve performance, keeps a local cache.
14 The local cache can safely be deleted. 14 The local cache can safely be deleted.
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 return run_tha_test( 616 return run_tha_test(
617 command, options.isolated, None, cache, options.leak_temp_dir, 617 command, options.isolated, None, cache, options.leak_temp_dir,
618 options.json, options.root_dir, options.hard_timeout, 618 options.json, options.root_dir, options.hard_timeout,
619 options.grace_period, args) 619 options.grace_period, args)
620 620
621 621
622 if __name__ == '__main__': 622 if __name__ == '__main__':
623 # Ensure that we are always running with the correct encoding. 623 # Ensure that we are always running with the correct encoding.
624 fix_encoding.fix_encoding() 624 fix_encoding.fix_encoding()
625 sys.exit(main(sys.argv[1:])) 625 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « client/libs/logdog/varint.py ('k') | client/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698