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

Side by Side Diff: tools/isolate/tests/run_test_cases/sleep.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/tests/isolate_test.py ('k') | tools/isolate/tests/run_test_cases_smoke_test.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 # 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
4 # found in the LICENSE file.
5
6 """Sleeps."""
7
8 import sys
9 import time
10
11
12 def main():
13 assert len(sys.argv) == 2
14 print 'Sleeping.'
15 sys.stdout.flush()
16 time.sleep(float(sys.argv[1]))
17 print 'Slept.'
18 return 0
19
20
21 if __name__ == '__main__':
22 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/isolate/tests/isolate_test.py ('k') | tools/isolate/tests/run_test_cases_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698