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

Unified Diff: tools/isolate/tests/run_test_from_archive/repeated_files.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 side-by-side diff with in-line comments
Download patch
Index: tools/isolate/tests/run_test_from_archive/repeated_files.py
diff --git a/tools/isolate/tests/run_test_from_archive/repeated_files.py b/tools/isolate/tests/run_test_from_archive/repeated_files.py
deleted file mode 100755
index a5a49d1e63d9c967073c4c54cd37a3f27e6580aa..0000000000000000000000000000000000000000
--- a/tools/isolate/tests/run_test_from_archive/repeated_files.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Checks all the expected files are mapped."""
-
-import os
-import sys
-
-ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
-
-
-def main():
- expected = sorted([
- 'repeated_files.py',
- 'file1.txt',
- 'file1_copy.txt',
- ])
- actual = sorted(os.listdir(ROOT_DIR))
- if expected != actual:
- print >> sys.stderr, 'Expected list doesn\'t match:'
- print >> sys.stderr, ', '.join(expected)
- print >> sys.stderr, ', '.join(actual)
- return 1
-
- print 'Success'
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698