Bug 41653 - Add new WebKitTestRunner project for Windows
Summary: Add new WebKitTestRunner project for Windows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: Alice Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 23:06 PDT by Alice Liu
Modified: 2010-07-08 13:19 PDT (History)
2 users (show)

See Also:


Attachments
patch (48.31 KB, patch)
2010-07-05 23:22 PDT, Alice Liu
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Liu 2010-07-05 23:06:46 PDT
Add new WebKitTestRunner project for Windows.  bug 41086 was for mac.
Comment 1 Alice Liu 2010-07-05 23:22:46 PDT
Created attachment 60590 [details]
patch
Comment 2 WebKit Review Bot 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.
Comment 3 Alice Liu 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.
Comment 4 Sam Weinig 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.
Comment 5 Sam Weinig 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.
Comment 6 Alice Liu 2010-07-08 13:19:02 PDT
http://trac.webkit.org/changeset/62825