Bug 70142 - [EFL] Plug ImageDiff/DumpRenderTree on CMake build system
Summary: [EFL] Plug ImageDiff/DumpRenderTree on CMake build system
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Leandro Pereira
URL:
Keywords:
Depends on: 70078
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-14 14:12 PDT by Leandro Pereira
Modified: 2011-10-20 10:01 PDT (History)
3 users (show)

See Also:


Attachments
Patch (5.72 KB, patch)
2011-10-14 14:18 PDT, Leandro Pereira
no flags Details | Formatted Diff | Diff
Patch (5.60 KB, patch)
2011-10-17 11:50 PDT, Leandro Pereira
no flags Details | Formatted Diff | Diff
Patch (5.67 KB, patch)
2011-10-17 12:22 PDT, Leandro Pereira
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Pereira 2011-10-14 14:12:46 PDT
[EFL] Plug ImageDiff/DumpRenderTree on CMake build system
Comment 1 Leandro Pereira 2011-10-14 14:18:07 PDT
Created attachment 111073 [details]
Patch
Comment 2 Leandro Pereira 2011-10-14 14:19:58 PDT
Patrick, would you mind informally reviewing these changes?
Comment 3 Raphael Kubo da Costa (:rakuco) 2011-10-14 14:32:13 PDT
Comment on attachment 111073 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=111073&action=review

> Tools/DumpRenderTree/efl/CMakeLists.txt:87
> +SET(DumpRenderTree_LINK_FLAGS ${EWebLauncher_LINK_FLAGS})

I wonder if setting this is really necessary; if so, its value shouldn't depend on EWebLauncher.
Comment 4 Gyuyoung Kim 2011-10-14 14:44:20 PDT
Comment on attachment 111073 [details]
Patch

Attachment 111073 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/10068456
Comment 5 Raphael Kubo da Costa (:rakuco) 2011-10-14 19:01:45 PDT
(In reply to comment #4)
> (From update of attachment 111073 [details])
> Attachment 111073 [details] did not pass efl-ews (efl):
> Output: http://queues.webkit.org/results/10068456

Hmm, you either need to fix the ewk_view_page_scale calls in DRT or wait for bug 70078 to land.
Comment 6 Patrick R. Gansterer 2011-10-16 23:53:41 PDT
Comment on attachment 111073 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=111073&action=review

> Tools/CMakeListsEfl.txt:62
> +INCLUDE_IF_EXISTS(${TOOLS_DIR}/DumpRenderTree/${PORT_LOWERCASE}/CMakeLists.txt)

if you put it into the CMakeListEfl.txt you can use "efl" directly. Otherwise this should do into the "platform independet" CMakeLists.txt

> Tools/DumpRenderTree/efl/CMakeLists.txt:90
> +  LIST(APPEND DumpRenderTree_INCLUDE_DIRECTORIES

4 space indentation
Comment 7 Leandro Pereira 2011-10-17 11:50:00 PDT
Created attachment 111291 [details]
Patch
Comment 8 WebKit Review Bot 2011-10-17 11:51:58 PDT
Attachment 111291 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/update-webkit', '--chromium']" exit_code: 2

Updating OpenSource
Current branch master is up to date.
Updating chromium port dependencies using gclient...
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Re-trying 'depot_tools/gclient sync'
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Re-trying 'depot_tools/gclient sync'
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Error: 'depot_tools/gclient sync' failed 3 tries and returned 256 at Tools/Scripts/update-webkit-chromium line 107.
Re-trying 'depot_tools/gclient sync'
No such file or directory at Tools/Scripts/update-webkit line 104.


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Gyuyoung Kim 2011-10-17 11:54:13 PDT
Comment on attachment 111291 [details]
Patch

Attachment 111291 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/10089436
Comment 10 Raphael Kubo da Costa (:rakuco) 2011-10-17 11:57:57 PDT
Comment on attachment 111291 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=111291&action=review

> Tools/DumpRenderTree/efl/CMakeLists.txt:87
> +SET(DumpRenderTree_LINK_FLAGS ${EWebLauncher_LINK_FLAGS})

My previous comment still applies.
Comment 11 Leandro Pereira 2011-10-17 11:59:41 PDT
(In reply to comment #10)
> 
> My previous comment still applies.
>

That's why this bug depends on 70078. :)
Comment 12 Raphael Kubo da Costa (:rakuco) 2011-10-17 12:01:59 PDT
(In reply to comment #11)
> (In reply to comment #10)
> > 
> > My previous comment still applies.
> >
> 
> That's why this bug depends on 70078. :)

Not that comment, but rather the one about DRT's CMakeLists.txt mentioning EWebLauncher variables :P
Comment 13 Leandro Pereira 2011-10-17 12:22:14 PDT
Created attachment 111300 [details]
Patch
Comment 14 Leandro Pereira 2011-10-17 12:22:37 PDT
I'm clearly sleeping. :) Third time is the charm.
Comment 15 WebKit Review Bot 2011-10-17 12:25:42 PDT
Attachment 111300 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/update-webkit', '--chromium']" exit_code: 2

Updating OpenSource
From git://git.webkit.org/WebKit
   f85897f..a24babb  master     -> origin/master
Current branch master is up to date.
Updating chromium port dependencies using gclient...
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Re-trying 'depot_tools/gclient sync'
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Re-trying 'depot_tools/gclient sync'
Error: Can't switch the checkout to http://v8.googlecode.com/svn/branches/3.6@9637; UUID don't match and there is local changes in /mnt/git/webkit-style-queue/Source/WebKit/chromium/v8. Delete the directory and try again.
Error: 'depot_tools/gclient sync' failed 3 tries and returned 256 at Tools/Scripts/update-webkit-chromium line 107.
Re-trying 'depot_tools/gclient sync'
No such file or directory at Tools/Scripts/update-webkit line 104.


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 16 Gyuyoung Kim 2011-10-17 12:39:57 PDT
Comment on attachment 111300 [details]
Patch

Attachment 111300 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/10107029
Comment 17 Leandro Pereira 2011-10-20 07:29:46 PDT
Build problem has been fixed in r97976: <http://trac.webkit.org/changeset/97976>
Comment 18 Gustavo Noronha (kov) 2011-10-20 09:22:37 PDT
Comment on attachment 111300 [details]
Patch

The build problem is said to be fixed, and the change looks correct to me, so r=me.
Comment 19 WebKit Review Bot 2011-10-20 10:01:48 PDT
Comment on attachment 111300 [details]
Patch

Clearing flags on attachment: 111300

Committed r97992: <http://trac.webkit.org/changeset/97992>
Comment 20 WebKit Review Bot 2011-10-20 10:01:53 PDT
All reviewed patches have been landed.  Closing bug.