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

Side by Side Diff: swarm_client/tests/run_isolated/repeated_files.py

Issue 69143004: Delete swarm_client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month 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
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 """Checks all the expected files are mapped."""
7
8 import os
9 import sys
10
11 ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
12
13
14 def main():
15 expected = sorted([
16 'repeated_files.py',
17 'file1.txt',
18 'file1_copy.txt',
19 ])
20 actual = sorted(os.listdir(ROOT_DIR))
21 if expected != actual:
22 print >> sys.stderr, 'Expected list doesn\'t match:'
23 print >> sys.stderr, ', '.join(expected)
24 print >> sys.stderr, ', '.join(actual)
25 return 1
26
27 print 'Success'
28 return 0
29
30
31 if __name__ == '__main__':
32 sys.exit(main())
OLDNEW
« no previous file with comments | « swarm_client/tests/run_isolated/repeated_files.isolated ('k') | swarm_client/tests/run_isolated_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698