diff options
author | charleslee@chromium.org <charleslee@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 20:25:18 +0000 |
---|---|---|
committer | charleslee@chromium.org <charleslee@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 20:25:18 +0000 |
commit | a5a7bd1cc6eeed26eafa3695462b2660348965a9 (patch) | |
tree | 042b039ce2c21795d962b4f635a7f646c0f867f2 | |
parent | 319a26e52a0858088d2cc45a82b1e80d419af4a1 (diff) | |
download | chromium_src-a5a7bd1cc6eeed26eafa3695462b2660348965a9.zip chromium_src-a5a7bd1cc6eeed26eafa3695462b2660348965a9.tar.gz chromium_src-a5a7bd1cc6eeed26eafa3695462b2660348965a9.tar.bz2 |
Get rid of double line
An extra line without a newline is printed at the end of each shard, so the
first line of the next shard is on the same line:
18>[ PASSED ] 2 tests.
18>19>Note: This is test shard 20 of 20.
19>[==========] Running 2 tests from 2 test cases.
Review URL: http://codereview.chromium.org/7466039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94349 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | tools/sharding_supervisor/sharding_supervisor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sharding_supervisor/sharding_supervisor.py b/tools/sharding_supervisor/sharding_supervisor.py index dbc8ef2..b0f6535 100755 --- a/tools/sharding_supervisor/sharding_supervisor.py +++ b/tools/sharding_supervisor/sharding_supervisor.py @@ -110,6 +110,8 @@ class ShardRunner(threading.Thread): chars.write(char) if char == "\n" or not shard_running: line = chars.getvalue() + if not line and not shard_running: + break results = (self.test_fail.search(line) or self.test_timeout.search(line)) if results: |