Cleaned up and completed current dashboard milestone.

Left to do:
- Directory reorganization.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/384003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1605 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org
2012-02-06 10:55:12 +00:00
parent c80d9d9361
commit 86ce46d4ff
17 changed files with 411 additions and 67 deletions

View File

@@ -28,7 +28,6 @@ __author__ = 'phoglund@webrtc.org (Patrik Höglund)'
import os
import re
import sys
import time
import constants
@@ -90,15 +89,7 @@ def _report_coverage_to_dashboard(dashboard, now, line_coverage,
'function_coverage': '%f' % function_coverage
}
response = dashboard.send_post_request(constants.ADD_COVERAGE_DATA_URL,
parameters)
# The response content should be empty on success, so check that:
response_content = response.read()
if response_content:
message = ('Error: Dashboard reported the following error: %s.' %
response_content)
raise dashboard_connection.FailedToReportToDashboard(message)
dashboard.send_post_request(constants.ADD_COVERAGE_DATA_URL, parameters)
def _main():