Bug 25305

Summary: can't run safari or drt on windows
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: Tools / TestsAssignee: Adam Roben (:aroben) <aroben>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, sfalken
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Rename JavaScriptCore_debug.dll to JavaScriptCore.dll
sam: review+
Fix running run-safari and run-webkit-tests from outside the source tree
sam: review+
[1/3] Fix JavaScriptCore build on VC++ Express
sfalken: review+
[2/3] Rename JavaScriptCore_debug.dll to JavaScriptCore.dll
sfalken: review+
[3/3] Fix running run-safari and run-webkit-tests from outside the source tree sfalken: review+

Description Ojan Vafai 2009-04-20 19:34:33 PDT
Filing at aroben's request.

Running Safari.exe from %TEMP%\WebKitNightly gave an error about CoreFoundation.dll missing and running run-webkit-tests crashed on each test. Adding "%TEMP%\WebKitNightly;C:\Program Files\Safari;" got run-safari to start.

I tried copying the DLLs as suggested at http://trac.webkit.org/wiki/BuildingOnWindows#Runningthetests, excluding WebKit.dll and now both run-safari and DumpRenderTree.exe crash on startup (more specifically, pull up the VS debugger). Running Safari.exe from %TEMP%\WebKitNightly from gives the CoreFoundation.dll error again.
Comment 1 Adam Roben (:aroben) 2009-04-21 10:44:14 PDT
I was able to reproduce these problems, and I think I have a patch that fixes them.
Comment 2 Adam Roben (:aroben) 2009-04-21 10:54:57 PDT
Created attachment 29653 [details]
Rename JavaScriptCore_debug.dll to JavaScriptCore.dll
Comment 3 Adam Roben (:aroben) 2009-04-21 10:55:15 PDT
Created attachment 29654 [details]
Fix running run-safari and run-webkit-tests from outside the source tree
Comment 4 Adam Roben (:aroben) 2009-04-21 11:01:33 PDT
Created attachment 29655 [details]
[1/3] Fix JavaScriptCore build on VC++ Express
Comment 5 Adam Roben (:aroben) 2009-04-21 11:01:56 PDT
Created attachment 29656 [details]
[2/3] Rename JavaScriptCore_debug.dll to JavaScriptCore.dll
Comment 6 Adam Roben (:aroben) 2009-04-21 11:02:15 PDT
Created attachment 29657 [details]
[3/3] Fix running run-safari and run-webkit-tests from outside the source tree
Comment 7 Adam Roben (:aroben) 2009-04-21 11:09:29 PDT
Landed as r42717, r42718, and r42719