Changeset 70720 in webkit


Ignore:
Timestamp:
Oct 27, 2010 3:37:43 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-10-27 Eric Seidel <eric@webkit.org>

Unreviewed.

build-webkit should collect Visual Studio Express logs and display them
https://bugs.webkit.org/show_bug.cgi?id=39199

It turns out my previous patch wasn't actually working on the win-ews
machine. So I've fixed my mistakes from before.

  • Scripts/build-webkit:
    • Windows VSE builds change the CWD while building. Why? Who knows.
  • Scripts/print-vse-failure-logs:
    • windows VSE builds don't use Debug/Release as I expected, so I've moved off of --configuration to --top-level and added the /obj optimization while I was there.
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r70683 r70720  
     12010-10-27  Eric Seidel  <eric@webkit.org>
     2
     3        Unreviewed.
     4
     5        build-webkit should collect Visual Studio Express logs and display them
     6        https://bugs.webkit.org/show_bug.cgi?id=39199
     7
     8        It turns out my previous patch wasn't actually working on the win-ews
     9        machine.  So I've fixed my mistakes from before.
     10
     11        * Scripts/build-webkit:
     12         - Windows VSE builds change the CWD while building.  Why?  Who knows.
     13        * Scripts/print-vse-failure-logs:
     14         - windows VSE builds don't use Debug/Release as I expected, so I've
     15           moved off of --configuration to --top-level and added the /obj
     16           optimization while I was there.
     17
    1182010-10-27  Dimitri Glazkov  <dglazkov@chromium.org>
    219
  • trunk/WebKitTools/Scripts/build-webkit

    r70607 r70720  
    524524        }
    525525    }
     526    # Various build* calls above may change the CWD.
     527    chdirWebKit();
    526528
    527529    if (exitStatus($result)) {
     
    540542        exit exitStatus($result);
    541543    }
    542     chdirWebKit();
    543544}
    544545
  • trunk/WebKitTools/Scripts/print-vse-failure-logs

    r70607 r70720  
    4949    def _find_buildlogs(self, build_directory):
    5050        build_log_paths = []
    51         # FIXME: Walking the obj/ root under the build directory might be faster.
    5251        for dirpath, dirnames, filenames in os.walk(build_directory):
    5352            for file_name in filenames:
     
    5756        return build_log_paths
    5857
     58    def _obj_directory(self):
     59        scripts_directory = os.path.dirname(__file__)
     60        build_directory_script_path = os.path.join(scripts_directory, "webkit-build-directory")
     61        # FIXME: ports/webkit.py should provide the build directory in a nice API.
     62        # NOTE: The windows VSE build does not seem to use different directories
     63        # for Debug and Release.
     64        build_directory = self._executive.run_command([build_directory_script_path, "--top-level"]).rstrip()
     65        return os.path.join(build_directory, "obj")
     66
    5967    def main(self):
    60         # FIXME: ports/webkit.py should provide the build directory in a nice API.
    61         build_directory = self._executive.run_command(["webkit-build-directory", "--configuration"]).rstrip()
    62         build_log_paths = self._find_buildlogs(build_directory)
     68        obj_directory = self._obj_directory()
     69        build_log_paths = self._find_buildlogs(obj_directory)
    6370
    64         print "Found %s Visual Studio Express Build Logs:%s" % (len(build_log_paths), "\n".join(build_log_paths))
     71        print "Found %s Visual Studio Express Build Logs:\n%s" % (len(build_log_paths), "\n".join(build_log_paths))
    6572
    6673        for build_log_path in build_log_paths:
Note: See TracChangeset for help on using the changeset viewer.