Bug 86138 - Move WebSQL tests in LayoutTests/storage to websql directory
Summary: Move WebSQL tests in LayoutTests/storage to websql directory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joshua Bell
URL:
Keywords:
Depends on: 86973
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-10 14:02 PDT by Joshua Bell
Modified: 2012-05-21 14:30 PDT (History)
3 users (show)

See Also:


Attachments
Patch (275.39 KB, patch)
2012-05-10 14:39 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff
Patch (285.81 KB, patch)
2012-05-10 14:43 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff
Patch (286.10 KB, patch)
2012-05-16 14:09 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff
Patch (285.98 KB, patch)
2012-05-21 11:05 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff
Patch for landing (301.23 KB, patch)
2012-05-21 11:52 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff
Patch for landing (285.98 KB, patch)
2012-05-21 13:44 PDT, Joshua Bell
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Bell 2012-05-10 14:02:58 PDT
LayoutTests/storage/ contains:

LayoutTests/storage/indexeddb/ - Indexed Database tests
LayoutTests/storage/domstorage/ - DOM Storage tests
LayoutTests/storage/*.{html,txt} - mostly WebSQL tests, with webkitStorageInfo mixed in

Moving the WebSQL tests to a dedicated directory would tidy things up. This is complicated by:

* StorageInfo tests which are also in LayoutTests/storage/
* Other non-WebSQL, non-StorageInfo tests???
* LayoutTests/storage/resources/ - used by WebSQL tests, maybe StorageInfo?
* Updating all platforms test expectations that refer to moved tests
Comment 1 Joshua Bell 2012-05-10 14:39:28 PDT
Created attachment 141262 [details]
Patch
Comment 2 Joshua Bell 2012-05-10 14:43:07 PDT
Created attachment 141264 [details]
Patch
Comment 3 Joshua Bell 2012-05-10 14:45:44 PDT
(In reply to comment #0)
> * StorageInfo tests which are also in LayoutTests/storage/

Left those alone.

> * Other non-WebSQL, non-StorageInfo tests???

None.

> * LayoutTests/storage/resources/ - used by WebSQL tests, maybe StorageInfo?

Only used by WebSQL tests, so moved that whole directory. Also, none of the WebSQL tests used resources elsewhere in the tree (no script src="../...") so none of the *.html/*.js/*-expected.txt files needed editing.

> * Updating all platforms test expectations that refer to moved tests

Done. Passes cleanly locally for me with Chromium/Linux port, we'll see what the bots say.
Comment 4 Joshua Bell 2012-05-14 12:19:38 PDT
Also need to ensure that no ports (e.g. Chromium) are running WebKit LayoutTests under other test harnesses.
Comment 5 Joshua Bell 2012-05-16 14:09:36 PDT
Created attachment 142343 [details]
Patch
Comment 6 Ryosuke Niwa 2012-05-18 12:07:58 PDT
Comment on attachment 142343 [details]
Patch

rs=me.
Comment 7 Ryosuke Niwa 2012-05-18 12:09:02 PDT
assuming you didn't break any tests :)
Comment 8 Joshua Bell 2012-05-18 12:11:54 PDT
Not technically blocked on 85742 but I'm not desperate enough to land this to get an svn checkout.
Comment 9 Joshua Bell 2012-05-21 11:05:47 PDT
Created attachment 143062 [details]
Patch
Comment 10 Joshua Bell 2012-05-21 11:07:28 PDT
(In reply to comment #9)
> Created an attachment (id=143062) [details]
> Patch

No need for review, already got an R+ from rniwa

Uploading again now that https://bugs.webkit.org/show_bug.cgi?id=86973 is fixed and the bots should give this a real try. Also, EFL / GTK expectations needed updating.
Comment 11 Joshua Bell 2012-05-21 11:52:56 PDT
Created attachment 143071 [details]
Patch for landing
Comment 12 WebKit Review Bot 2012-05-21 13:17:02 PDT
Comment on attachment 143071 [details]
Patch for landing

Rejecting attachment 143071 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
WebKit/chromium/v8 --revision 11594 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
47>At revision 11594.

________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'

________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
Updating webkit projects from gyp files...
Total errors found: 0 in 2 files

Full output: http://queues.webkit.org/results/12739551
Comment 13 Joshua Bell 2012-05-21 13:44:04 PDT
Created attachment 143089 [details]
Patch for landing
Comment 14 WebKit Review Bot 2012-05-21 14:30:19 PDT
Comment on attachment 143089 [details]
Patch for landing

Clearing flags on attachment: 143089

Committed r117816: <http://trac.webkit.org/changeset/117816>
Comment 15 WebKit Review Bot 2012-05-21 14:30:25 PDT
All reviewed patches have been landed.  Closing bug.