Bug 41653

Summary: Add new WebKitTestRunner project for Windows
Product: WebKit Reporter: Alice Liu <alice.barraclough>
Component: Tools / TestsAssignee: Alice Liu <alice.barraclough>
Status: RESOLVED FIXED    
Severity: Normal CC: sam, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
Attachments:
Description Flags
patch sam: review+

Alice Liu
Reported 2010-07-05 23:06:46 PDT
Add new WebKitTestRunner project for Windows. bug 41086 was for mac.
Attachments
patch (48.31 KB, patch)
2010-07-05 23:22 PDT, Alice Liu
sam: review+
Alice Liu
Comment 1 2010-07-05 23:22:46 PDT
WebKit Review Bot
Comment 2 2010-07-05 23:24:53 PDT
Attachment 60590 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebKitTools/WebKitTestRunner/win/TestControllerWin.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/win/PlatformWebViewWin.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/win/TestInvocationWin.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/win/main.cpp:26: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 4 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alice Liu
Comment 3 2010-07-05 23:33:25 PDT
(In reply to comment #2) > Attachment 60590 [details] did not pass style-queue: hrm, I'm confused. I don't think I want to include config.h. That causes build problems.
Sam Weinig
Comment 4 2010-07-06 08:12:27 PDT
(In reply to comment #3) > (In reply to comment #2) > > Attachment 60590 [details] [details] did not pass style-queue: > > hrm, I'm confused. I don't think I want to include config.h. That causes build problems. Yeah. Ignore that.
Sam Weinig
Comment 5 2010-07-06 08:16:43 PDT
Comment on attachment 60590 [details] patch > Reviewed by Eric Seidel. > Index: WebKitTools/WebKitTestRunner/WebKitTestRunnerPrefix.h > =================================================================== > --- WebKitTools/WebKitTestRunner/WebKitTestRunnerPrefix.h (revision 62511) > +++ WebKitTools/WebKitTestRunner/WebKitTestRunnerPrefix.h (working copy) > @@ -27,4 +27,9 @@ > #include <Cocoa/Cocoa.h> > #endif > > +// If we don't define these, they get defined in windef.h. > +// We want to use std::min and std::max > +#define max max > +#define min min I think these probably want to be behind a #if PLATFORM(WIN) or some such. Otherwise, r=me.
Alice Liu
Comment 6 2010-07-08 13:19:02 PDT
Note You need to log in before you can comment on or make changes to this bug.