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

Side by Side Diff: googletest/tests/gtest_fake/gtest_fake_base.py

Issue 19917006: Move all googletest related scripts into googletest/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Remove unnecessary pylint warning disable Created 7 years, 4 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Provide common functionality to simulate a google-test executable. 5 """Provide common functionality to simulate a google-test executable.
6 6
7 http://code.google.com/p/googletest/ 7 http://code.google.com/p/googletest/
8 """ 8 """
9 9
10 import optparse 10 import optparse
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 print '' 72 print ''
73 sys.exit(0) 73 sys.exit(0)
74 74
75 if options.gtest_filter: 75 if options.gtest_filter:
76 print 'Note: Google Test filter = %s\n' % options.gtest_filter 76 print 'Note: Google Test filter = %s\n' % options.gtest_filter
77 test_cases = options.gtest_filter.split(':') 77 test_cases = options.gtest_filter.split(':')
78 else: 78 else:
79 test_cases = sum(( 79 test_cases = sum((
80 ['%s.%s' % (f, c) for c in all_tests[f]] for f in all_tests), []) 80 ['%s.%s' % (f, c) for c in all_tests[f]] for f in all_tests), [])
81 return sorted(test_cases), args 81 return sorted(test_cases), args
OLDNEW
« no previous file with comments | « googletest/tests/gtest_fake/expected.xml ('k') | googletest/tests/gtest_fake/gtest_fake_confused_fail.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698