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

Side by Side Diff: dummy_test.py

Issue 9978016: Modify the sharding supervisor to support sharding only a sub-shard of a test suite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/tools/sharding_supervisor/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | sharding_supervisor.py » ('j') | sharding_supervisor.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
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 """Dummy test used by the sharding supervisor unittests."""
7
8 import os
9
10 total = os.environ['GTEST_TOTAL_SHARDS']
11 index = os.environ['GTEST_SHARD_INDEX']
12 print 'Running shard %s of %s' % (index, total)
OLDNEW
« no previous file with comments | « no previous file | sharding_supervisor.py » ('j') | sharding_supervisor.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698