[Webkit-unassigned] [Bug 39199] New: build-webkit should collect Visual Studio Express logs and display them

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 00:25:53 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39199

           Summary: build-webkit should collect Visual Studio Express logs
                    and display them
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: aroben at apple.com, abarth at webkit.org,
                    dbates at webkit.org, bweinstein at apple.com


#!/usr/bin/python

build-webkit should collect Visual Studio Express logs and display them

Here is one example script, written in python:

#!/usr/bin/python
from __future__ import with_statement

import codecs
import os.path
import os

webkit_root = "/mnt/svn/webkit-win-ews"
build_root = os.path.join(webkit_root, "WebKitBuild")
obj_root = os.path.join(build_root, "obj")

build_log_paths = []

for dirpath, dirnames, filenames in os.walk(obj_root):
   for file_name in filenames:
       if file_name == "BuildLog.htm":
           file_path = os.path.join(dirpath, file_name)
           build_log_paths.append(file_path)


for build_log_path in build_log_paths:
    with codecs.open(build_log_path, "r", "utf-16") as build_log:
        print build_log.read()

Ideally we could wire up a hook in build-webkit itself to have them print to the console as they're generated.  But at least we need a script like the one above for the win-ews.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list