Bug 108189 - Moving LayoutTests/fast/canvas/webgl folder to LayoutTests/webgl
Summary: Moving LayoutTests/fast/canvas/webgl folder to LayoutTests/webgl
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Roland Takacs
URL:
Keywords:
Depends on:
Blocks: 94643
  Show dependency treegraph
 
Reported: 2013-01-29 06:55 PST by Roland Takacs
Modified: 2013-11-11 02:31 PST (History)
20 users (show)

See Also:


Attachments
WIP - move webgl folder (209.63 KB, patch)
2013-01-29 07:08 PST, Roland Takacs
no flags Details | Formatted Diff | Diff
WIP - modify TestExpectations (30.00 KB, patch)
2013-01-29 07:12 PST, Roland Takacs
no flags Details | Formatted Diff | Diff
patch (301.25 KB, patch)
2013-01-31 02:25 PST, Roland Takacs
no flags Details | Formatted Diff | Diff
WIP (243.79 KB, patch)
2013-01-31 05:40 PST, Roland Takacs
buildbot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Takacs 2013-01-29 06:55:22 PST
It would be nice to move fast/canvas/webgl/ tests out into a top-level webgl/ directory to decrease number of fast/ tests.
Comment 1 Roland Takacs 2013-01-29 07:08:33 PST
Created attachment 185234 [details]
WIP - move webgl folder

move webgl folder and modify the tests' include path (e.g. ../../js/js-test-pre.js to ../fast/js/js-test-pre.js)
Comment 2 Roland Takacs 2013-01-29 07:12:55 PST
Created attachment 185238 [details]
WIP - modify TestExpectations

Changed fast/canvas/webgl paths to webgl/ in TestExpectations
Comment 3 Roland Takacs 2013-01-29 07:15:57 PST
What is your opinion about this?
Is it good to do this by two patches or should I create only one patch?
Comment 4 Roland Takacs 2013-01-31 02:25:01 PST
Created attachment 185725 [details]
patch

 - fast/canvas/webgl movement
 - platform specific expectations have also been moved from fast/canvas/webgl to webgl/
 - every fast/canvas/webgl reference have been replaced to webgl/ (html, js, skiplist)
 - removed some webgl paths from skiplists [chromium and chromium-android] because they were missing. (it's needed because of style bot)
Comment 5 Build Bot 2013-01-31 03:01:45 PST
Comment on attachment 185725 [details]
patch

Attachment 185725 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://queues.webkit.org/results/16272112

New failing tests:
webgl/read-pixels-test.html
fast/images/webgl-teximage2d.html
Comment 6 WebKit Review Bot 2013-01-31 04:13:02 PST
Comment on attachment 185725 [details]
patch

Attachment 185725 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/16267138

New failing tests:
platform/chromium/virtual/deferred/fast/images/webgl-teximage2d.html
fast/images/webgl-teximage2d.html
Comment 7 Roland Takacs 2013-01-31 05:40:18 PST
Created attachment 185761 [details]
WIP
Comment 8 Build Bot 2013-01-31 06:36:49 PST
Comment on attachment 185761 [details]
WIP

Attachment 185761 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://queues.webkit.org/results/16271258

New failing tests:
webgl/read-pixels-test.html
fast/images/webgl-teximage2d.html
Comment 9 WebKit Review Bot 2013-01-31 07:10:29 PST
Comment on attachment 185761 [details]
WIP

Attachment 185761 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/16252419

New failing tests:
platform/chromium/virtual/deferred/fast/images/webgl-teximage2d.html
fast/images/webgl-teximage2d.html
Comment 10 Build Bot 2013-01-31 10:27:08 PST
Comment on attachment 185725 [details]
patch

Attachment 185725 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/16269319

New failing tests:
fast/images/webgl-teximage2d.html
Comment 11 Build Bot 2013-01-31 13:40:44 PST
Comment on attachment 185761 [details]
WIP

Attachment 185761 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/16271439

New failing tests:
fast/images/webgl-teximage2d.html
Comment 12 Kenneth Russell 2013-02-01 12:14:26 PST
@gman is currently working on importing the Khronos WebGL conformance tests as layout tests into a new top-level webgl/ directory. I think that the existing fast/canvas/webgl/ folder should be left alone for now because most of the tests will be obsoleted. (A few are WebKit-specific tests which are not feasible to incorporate as conformance tests.)
Comment 13 Gregg Tavares 2013-02-25 15:48:15 PST
I'd like to suggest some steps for this

1) Change disabling of tests in LayoutTests/platform/mac/TestExpectations and LayoutTests/platform/chromium/TestExpectation from the generic 'webgl' to one entry for each and every test.

   find WebKit/LayoutTests/webgl/conformance -name "*.html" -print

should generate that list.

2) Enable each test in LayoutTests/webgl that has a corresponding, equivalent, and passing test in LayoutTests/fast/canvas/webgl

3) Delete those tests from LayoutTests/fast/canvas/webgl that were enabled in #2
Comment 14 Kenneth Russell 2013-02-25 15:59:03 PST
(In reply to comment #13)
> I'd like to suggest some steps for this
> 
> 1) Change disabling of tests in LayoutTests/platform/mac/TestExpectations and LayoutTests/platform/chromium/TestExpectation from the generic 'webgl' to one entry for each and every test.
> 
>    find WebKit/LayoutTests/webgl/conformance -name "*.html" -print
> 
> should generate that list.
> 
> 2) Enable each test in LayoutTests/webgl that has a corresponding, equivalent, and passing test in LayoutTests/fast/canvas/webgl
> 
> 3) Delete those tests from LayoutTests/fast/canvas/webgl that were enabled in #2

This sounds good.

I was going to suggest trying to reduce the number of lines added to TestExpectations if we could continue to disable some entire directories, but this would be a maintenance nightmare so never mind. Let's go ahead and do this.
Comment 15 Csaba Osztrogonác 2013-06-11 02:15:31 PDT
Is this bug/patch still valid?
Comment 16 Csaba Osztrogonác 2013-11-07 03:50:52 PST
ping?
Comment 17 Roland Takacs 2013-11-07 08:46:16 PST
(In reply to comment #16)
> ping?

No, this is probably obsolete.
I'm closing the bug right now.