Changeset 70720 in webkit
- Timestamp:
- Oct 27, 2010 3:37:43 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r70683 r70720 1 2010-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 1 18 2010-10-27 Dimitri Glazkov <dglazkov@chromium.org> 2 19 -
trunk/WebKitTools/Scripts/build-webkit
r70607 r70720 524 524 } 525 525 } 526 # Various build* calls above may change the CWD. 527 chdirWebKit(); 526 528 527 529 if (exitStatus($result)) { … … 540 542 exit exitStatus($result); 541 543 } 542 chdirWebKit();543 544 } 544 545 -
trunk/WebKitTools/Scripts/print-vse-failure-logs
r70607 r70720 49 49 def _find_buildlogs(self, build_directory): 50 50 build_log_paths = [] 51 # FIXME: Walking the obj/ root under the build directory might be faster.52 51 for dirpath, dirnames, filenames in os.walk(build_directory): 53 52 for file_name in filenames: … … 57 56 return build_log_paths 58 57 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 59 67 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) 63 70 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)) 65 72 66 73 for build_log_path in build_log_paths:
Note: See TracChangeset
for help on using the changeset viewer.