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

Side by Side Diff: client/run_isolated.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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/isolateserver.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 Swarming Authors. All rights reserved. 2 # Copyright 2012 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 that 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # can be found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Reads a .isolated, creates a tree of hardlinks and runs the test. 6 """Reads a .isolated, creates a tree of hardlinks and runs the test.
7 7
8 To improve performance, it keeps a local cache. The local cache can safely be 8 To improve performance, it keeps a local cache. The local cache can safely be
9 deleted. 9 deleted.
10 10
11 Any ${ISOLATED_OUTDIR} on the command line will be replaced by the location of a 11 Any ${ISOLATED_OUTDIR} on the command line will be replaced by the location of a
12 temporary directory upon execution of the command specified in the .isolated 12 temporary directory upon execution of the command specified in the .isolated
13 file. All content written to this directory will be uploaded upon termination 13 file. All content written to this directory will be uploaded upon termination
14 and the .isolated file describing this directory will be printed to stdout. 14 and the .isolated file describing this directory will be printed to stdout.
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 assert storage.hash_algo == cache.hash_algo 490 assert storage.hash_algo == cache.hash_algo
491 return run_tha_test( 491 return run_tha_test(
492 options.isolated, storage, cache, options.leak_temp_dir, options.json, 492 options.isolated, storage, cache, options.leak_temp_dir, options.json,
493 options.root_dir, options.hard_timeout, options.grace_period, args) 493 options.root_dir, options.hard_timeout, options.grace_period, args)
494 494
495 495
496 if __name__ == '__main__': 496 if __name__ == '__main__':
497 # Ensure that we are always running with the correct encoding. 497 # Ensure that we are always running with the correct encoding.
498 fix_encoding.fix_encoding() 498 fix_encoding.fix_encoding()
499 sys.exit(main(sys.argv[1:])) 499 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « client/isolateserver.py ('k') | client/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698