RESOLVED FIXED 44155
[Qt] Add WebKitTestRunner's build files
https://bugs.webkit.org/show_bug.cgi?id=44155
Summary [Qt] Add WebKitTestRunner's build files
Zoltan Horvath
Reported 2010-08-18 01:01:49 PDT
Add WebKitTestRunner's files and modify WK2 build files to build WebKitTestRunner.
Attachments
first patch (13.93 KB, patch)
2010-08-18 01:22 PDT, Zoltan Horvath
no flags
second patch (17.75 KB, patch)
2010-08-18 04:00 PDT, Zoltan Horvath
no flags
third patch (25.18 KB, patch)
2010-10-01 07:28 PDT, Balazs Kelemen
no flags
Patch (12.29 KB, patch)
2010-10-06 08:00 PDT, Balazs Kelemen
no flags
Patch (19.60 KB, patch)
2010-10-06 08:25 PDT, Balazs Kelemen
no flags
Patch (19.07 KB, patch)
2010-10-06 09:38 PDT, Balazs Kelemen
no flags
Patch (18.81 KB, patch)
2010-10-06 10:08 PDT, Balazs Kelemen
no flags
Patch (18.86 KB, patch)
2010-10-06 14:52 PDT, Balazs Kelemen
no flags
Zoltan Horvath
Comment 1 2010-08-18 01:22:26 PDT
Created attachment 64675 [details] first patch Please comment.
Kenneth Rohde Christiansen
Comment 2 2010-08-18 03:23:58 PDT
Comment on attachment 64675 [details] first patch WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:32 + static void addQTDirToPATH() huh? AddQTDirToPATH? QuickTime ? WebKitTools/WebKitTestRunner/qt/main.cpp:33 + } Why this? Is this working? Don't you need the InjectBundle to work?
Zoltan Horvath
Comment 3 2010-08-18 04:00:42 PDT
Created attachment 64686 [details] second patch (In reply to comment #2) > (From update of attachment 64675 [details]) > WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:32 > + static void addQTDirToPATH() > huh? AddQTDirToPATH? QuickTime ? Sry, I've uploaded a wrong patch with some unrelated change like this. > WebKitTools/WebKitTestRunner/qt/main.cpp:33 > + } > Why this? It is copy pasted code from win implementation. I don't see reason for this, so I removed brackets now. > Is this working? Don't you need the InjectBundle to work? It is building and making the binary, but isn't working. We need InjectedBundle implementation, yes.
Balazs Kelemen
Comment 4 2010-10-01 07:28:23 PDT
Created attachment 69466 [details] third patch
WebKit Review Bot
Comment 5 2010-10-01 07:32:43 PDT
Attachment 69466 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:27: 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] WebKit2/UIProcess/API/C/WebKit2.h:53: More than one command on the same line in if [whitespace/parens] [4] WebKitTools/WebKitTestRunner/qt/main.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:27: 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] Total errors found: 4 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 6 2010-10-01 07:39:44 PDT
Balazs Kelemen
Comment 7 2010-10-06 08:00:17 PDT
WebKit Review Bot
Comment 8 2010-10-06 08:04:17 PDT
Attachment 69941 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit2/UIProcess/API/C/WebKit2.h:53: More than one command on the same line in if [whitespace/parens] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Balazs Kelemen
Comment 9 2010-10-06 08:25:32 PDT
Created attachment 69943 [details] Patch Forgot to add the new files in the previous.
WebKit Review Bot
Comment 10 2010-10-06 08:29:22 PDT
Attachment 69943 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:27: 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] WebKit2/UIProcess/API/C/WebKit2.h:53: More than one command on the same line in if [whitespace/parens] [4] WebKitTools/WebKitTestRunner/qt/main.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:27: 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] Total errors found: 4 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Balazs Kelemen
Comment 11 2010-10-06 09:38:12 PDT
Created attachment 69950 [details] Patch Removed accidentally added implementation that need to be in a follow up patch.
WebKit Review Bot
Comment 12 2010-10-06 09:44:32 PDT
Attachment 69950 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:27: 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] WebKit2/UIProcess/API/C/WebKit2.h:53: More than one command on the same line in if [whitespace/parens] [4] WebKitTools/WebKitTestRunner/qt/main.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:27: 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] Total errors found: 4 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Kenneth Rohde Christiansen
Comment 13 2010-10-06 09:53:30 PDT
Comment on attachment 69950 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69950&action=review > WebKit2/UIProcess/API/C/WebKit2.h:53 > -#if !__APPLE__ || __OBJC__ > +#if (defined(__APPLE__) && __APPLE__) || (defined(__OBJC__) && __OBJC__) The first seems to be checking for NOT __APPLE__ > WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:35 > + // Implement > + notImplemented(); This comment seems a bit useless > WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:41 > +} > +void TestController::platformInitialize() needs newline between those two
Balazs Kelemen
Comment 14 2010-10-06 10:08:37 PDT
Created attachment 69954 [details] Patch Corrected the issues noticed by Kenneth.
WebKit Review Bot
Comment 15 2010-10-06 10:11:27 PDT
Attachment 69954 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:27: 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/qt/main.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:27: 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] Total errors found: 3 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 16 2010-10-06 14:25:58 PDT
Balazs Kelemen
Comment 17 2010-10-06 14:45:13 PDT
Oops. This depends on 45393. Instead of set the dependency I am going to upload the patch without actually switching on the build of WebKitTestRunner. This way we can move forward and switch it on when the build will be stable.
Balazs Kelemen
Comment 18 2010-10-06 14:52:21 PDT
Created attachment 69993 [details] Patch Same as the last one without actually turn on the build of WTR.
WebKit Review Bot
Comment 19 2010-10-06 15:00:42 PDT
Attachment 69993 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp:27: 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/qt/main.cpp:27: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp:27: 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] Total errors found: 3 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Kenneth Rohde Christiansen
Comment 20 2010-10-06 15:04:51 PDT
Comment on attachment 69993 [details] Patch When landing please make sure to stay around to make sure this does break any other port
Andras Becsi
Comment 21 2010-10-06 15:43:20 PDT
Comment on attachment 69993 [details] Patch Clearing flags on attachment: 69993 Committed r69244: <http://trac.webkit.org/changeset/69244>
Andras Becsi
Comment 22 2010-10-06 15:43:30 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 23 2010-10-06 16:55:23 PDT
http://trac.webkit.org/changeset/69244 might have broken Chromium Win Release
WebKit Review Bot
Comment 24 2010-10-06 16:55:32 PDT
http://trac.webkit.org/changeset/69245 might have broken Chromium Win Release
Note You need to log in before you can comment on or make changes to this bug.