Commit 302b67a5 authored by Abhishek Arya's avatar Abhishek Arya

Coverage: Coverage script fixes

- Add test_suite.txt here to make it easily configurable.
- Move styles in static dir.

R=mmoroz@chromium.org,liaoyuke@chromium.org

Change-Id: I8284b6f0ea225e8d0e937686fbc3f6b369b5e2b7
Reviewed-on: https://chromium-review.googlesource.com/1054386Reviewed-by: default avatarMax Moroz <mmoroz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557628}
parent 055e83c3
......@@ -207,16 +207,18 @@ class _CoverageReportHtmlGenerator(object):
self._table_entries = []
self._total_entry = {}
template_dir = os.path.join(
os.path.dirname(os.path.realpath(__file__)), 'html_templates')
source_dir = os.path.dirname(os.path.realpath(__file__))
template_dir = os.path.join(source_dir, 'html_templates')
jinja_env = jinja2.Environment(
loader=jinja2.FileSystemLoader(template_dir), trim_blocks=True)
self._header_template = jinja_env.get_template('header.html')
self._table_template = jinja_env.get_template('table.html')
self._footer_template = jinja_env.get_template('footer.html')
self._style_overrides = open(
os.path.join(template_dir, 'style_overrides.css')).read()
os.path.join(source_dir, 'static', 'css', 'style.css')).read()
def AddLinkToAnotherReport(self, html_report_path, name, summary):
"""Adds a link to another html report in this report.
......
accessibility_unittests
angle_unittests
app_shell_unittests
audio_unittests
aura_unittests
base_unittests
battor_agent_unittests
blink_common_unittests
blink_heap_unittests
blink_platform_unittests
boringssl_crypto_tests
boringssl_ssl_tests
breakpad_unittests
browser_tests
cacheinvalidation_unittests
capture_unittests
cast_unittests
cc_blink_unittests
cc_unittests
chrome_app_unittests
components_browsertests
components_unittests
compositor_unittests
content_browsertests
content_unittests
courgette_unittests
crypto_unittests
dbus_unittests
device_unittests
display_unittests
events_unittests
extensions_browsertests
filesystem_service_unittests
gcm_unit_tests
gfx_unittests
gin_unittests
gl_unittests
gn_unittests
google_apis_unittests
gpu_unittests
headless_browsertests
headless_unittests
interactive_ui_tests
ipc_tests
jingle_unittests
keyboard_unittests
leveldb_service_unittests
libjingle_xmpp_unittests
media_blink_unittests
media_mojo_unittests
media_service_unittests
media_unittests
midi_unittests
nacl_loader_unittests
native_theme_unittests
net_unittests
pdf_unittests
pdfium_unittests
ppapi_unittests
printing_unittests
remoting_unittests
sandbox_linux_unittests
service_manager_unittests
services_unittests
skia_unittests
snapshot_unittests
sql_unittests
storage_unittests
swiftshader_unittests
sync_integration_tests
traffic_annotation_auditor_unittests
ui_base_unittests
ui_touch_selection_unittests
unit_tests
url_unittests
views_unittests
viz_unittests
vr_common_unittests
webkit_unit_tests
wm_unittests
wtf_unittests
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment