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

Unified Diff: tools/isolate/list_test_cases.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
« no previous file with comments | « tools/isolate/isolate_merge.py ('k') | tools/isolate/run_test_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/list_test_cases.py
diff --git a/tools/isolate/list_test_cases.py b/tools/isolate/list_test_cases.py
deleted file mode 100755
index da741e25acff56885a0dd5210534785ff2b44487..0000000000000000000000000000000000000000
--- a/tools/isolate/list_test_cases.py
+++ /dev/null
@@ -1,54 +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.
-
-"""List all the test cases for a google test.
-
-See more info at http://code.google.com/p/googletest/.
-"""
-
-import sys
-
-import run_test_cases
-
-
-def main():
- """CLI frontend to validate arguments."""
- parser = run_test_cases.OptionParserWithTestSharding(
- usage='%prog <options> [gtest]')
- parser.add_option(
- '-d', '--disabled',
- action='store_true',
- help='Include DISABLED_ tests')
- parser.add_option(
- '-f', '--fails',
- action='store_true',
- help='Include FAILS_ tests')
- parser.add_option(
- '-F', '--flaky',
- action='store_true',
- help='Include FLAKY_ tests')
- options, args = parser.parse_args()
- if not args:
- parser.error('Please provide the executable to run')
-
- cmd = run_test_cases.fix_python_path(args)
- try:
- tests = run_test_cases.list_test_cases(
- cmd,
- options.index,
- options.shards,
- options.disabled,
- options.fails,
- options.flaky)
- for test in tests:
- print test
- except run_test_cases.Failure, e:
- print e.args[0]
- return e.args[1]
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « tools/isolate/isolate_merge.py ('k') | tools/isolate/run_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698