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

Side by Side Diff: tests/isolate/touch_root.py

Issue 11048019: Add everything from src/tools/isolate r159537. (Closed) Base URL: https://git.chromium.org/chromium/tools/swarm_client.git@master
Patch Set: Ensure --similarity is sticky 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
« no previous file with comments | « tests/isolate/touch_root.isolate ('k') | tests/isolate/with_flag.isolate » ('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 import os
7 import sys
8
9
10 def main():
11 print 'child_touch_root: Verify the relative directories'
12 root_dir = os.path.dirname(os.path.abspath(__file__))
13 parent_dir, base = os.path.split(root_dir)
14 parent_dir, base2 = os.path.split(parent_dir)
15 if base != 'isolate' or base2 != 'tests':
16 print 'Invalid root dir %s' % root_dir
17 return 4
18
19 open(os.path.join(parent_dir, 'isolate.py'), 'r').close()
20 return 0
21
22
23 if __name__ == '__main__':
24 sys.exit(main())
OLDNEW
« no previous file with comments | « tests/isolate/touch_root.isolate ('k') | tests/isolate/with_flag.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698