Bug 118583

Summary: [EFL] Add fallback for TestWebKitAPI if opengl is not available.
Product: WebKit Reporter: Donggwan Kim <donggwan.kim>
Component: Tools / TestsAssignee: Donggwan Kim <donggwan.kim>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, dw.im, rniwa, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 none

Donggwan Kim
Reported 2013-07-11 21:39:32 PDT
Ewk2 API tests fail if ecore_evas_new() fails return Ecore_Evas* from initEcoreEvas() in Tools/TestWebKitAPI/efl/PlatformWebView.cpp. Here's the logs when ecore_evas_new() is failed. ERR<28903>:ecore_evas ecore_evas_x.c:254 _ecore_evas_x_gl_window_new() evas_engine_info_set() for engine 'opengl_x11' failed. It's a same solution with https://bugs.webkit.org/show_bug.cgi?id=102704 and https://bugs.webkit.org/show_bug.cgi?id=117504
Attachments
Patch (1.72 KB, patch)
2013-07-11 23:05 PDT, Donggwan Kim
no flags
Patch (1.67 KB, patch)
2013-07-14 20:36 PDT, Donggwan Kim
no flags
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (481.21 KB, application/zip)
2013-07-14 21:20 PDT, Build Bot
no flags
Donggwan Kim
Comment 1 2013-07-11 23:05:46 PDT
Chris Dumez
Comment 2 2013-07-12 07:04:49 PDT
Comment on attachment 206506 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206506&action=review > Tools/TestWebKitAPI/efl/PlatformWebView.cpp:48 > + Ecore_Evas* ecoreEvas = 0; initialization does not seem needed. > Tools/TestWebKitAPI/efl/PlatformWebView.cpp:50 > + const char* engine = "opengl_x11"; This variable is not needed. please pass "opengl_x11" directly to ecore_evas_new(). > Tools/TestWebKitAPI/efl/PlatformWebView.cpp:-54 > - ASSERT(ecoreEvas); Why remove the assertion?
Donggwan Kim
Comment 3 2013-07-14 20:36:33 PDT
Donggwan Kim
Comment 4 2013-07-14 20:38:17 PDT
Comment on attachment 206506 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206506&action=review >> Tools/TestWebKitAPI/efl/PlatformWebView.cpp:48 >> + Ecore_Evas* ecoreEvas = 0; > > initialization does not seem needed. Done. >> Tools/TestWebKitAPI/efl/PlatformWebView.cpp:50 >> + const char* engine = "opengl_x11"; > > This variable is not needed. please pass "opengl_x11" directly to ecore_evas_new(). Done. >> Tools/TestWebKitAPI/efl/PlatformWebView.cpp:-54 >> - ASSERT(ecoreEvas); > > Why remove the assertion? You are right. I appended the assertion again.
Gyuyoung Kim
Comment 5 2013-07-14 20:40:21 PDT
Comment on attachment 206637 [details] Patch LGTM. I think chris is going to review. ;-)
Build Bot
Comment 6 2013-07-14 21:20:34 PDT
Comment on attachment 206637 [details] Patch Attachment 206637 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1070467 New failing tests: http/tests/security/cross-origin-plugin-private-browsing-toggled.html
Build Bot
Comment 7 2013-07-14 21:20:36 PDT
Created attachment 206638 [details] Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Chris Dumez
Comment 8 2013-07-15 05:16:31 PDT
Comment on attachment 206637 [details] Patch Looks fine, r=me.
Donggwan Kim
Comment 9 2013-07-15 16:07:35 PDT
It doesn't seem to be related to this patch. So i cleared commit-queue.
Ryuan Choi
Comment 10 2013-07-15 16:24:53 PDT
Comment on attachment 206637 [details] Patch Let's try once more. cq+ed
WebKit Commit Bot
Comment 11 2013-07-15 16:46:51 PDT
Comment on attachment 206637 [details] Patch Clearing flags on attachment: 206637 Committed r152675: <http://trac.webkit.org/changeset/152675>
WebKit Commit Bot
Comment 12 2013-07-15 16:46:55 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.