Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Issue 7671049: Refactor/Simplify the test expectation code in media/tools/layout_tests/ (Closed)

Created:
9 years, 4 months ago by imasaki1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., acolwell+watch_chromium.org, annacc+watch_chromium.org, pam+watch_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Refactor/Simplify the test expectation code in media/tools/layout_tests/, I will first try to checkin minimum working code and expand it from there. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97704

Patch Set 1 #

Total comments: 16

Patch Set 2 : Modification based on CR comments. #

Patch Set 3 : Modification based on CR comments. #

Total comments: 22

Patch Set 4 : Modification based on CR comments. #

Patch Set 5 : Modified based on CR comments. #

Total comments: 2

Patch Set 6 : Modification based on CR comments. #

Patch Set 7 : adding blank lines. #

Total comments: 64

Patch Set 8 : Modification based on CR comments by Dennis. #

Patch Set 9 : Remove 'foo' from one of the unit test name. #

Patch Set 10 : Minor name change. #

Total comments: 5

Patch Set 11 : Modification based on CR comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -651 lines) Patch
M media/tools/layout_tests/test_expectations.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +148 lines, -433 lines 0 comments Download
M media/tools/layout_tests/test_expectations_unittest.py View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -218 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
imasaki1
Thanks.
9 years, 4 months ago (2011-08-18 19:14:08 UTC) #1
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py#newcode12 media/tools/layout_tests/test_expectations.py:12: # TODO(imasaki@) : support multiple test expectations files. No ...
9 years, 4 months ago (2011-08-18 19:56:58 UTC) #2
imasaki1
Thank you. http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py#newcode12 media/tools/layout_tests/test_expectations.py:12: # TODO(imasaki@) : support multiple test expectations ...
9 years, 4 months ago (2011-08-18 22:51:56 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py#newcode53 media/tools/layout_tests/test_expectations.py:53: @staticmethod On 2011/08/18 22:51:56, imasaki1 wrote: > On 2011/08/18 ...
9 years, 4 months ago (2011-08-19 15:43:00 UTC) #4
imasaki1
On 2011/08/19 15:43:00, Ami Fischman wrote: > http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py > File media/tools/layout_tests/test_expectations.py (right): > > http://codereview.chromium.org/7671049/diff/1/media/tools/layout_tests/test_expectations.py#newcode53 ...
9 years, 4 months ago (2011-08-19 16:18:54 UTC) #5
Ami GONE FROM CHROMIUM
> > So, I was also trying to mimic > http://trac.webkit.org/**browser/trunk/Tools/Scripts/** > webkitpy/layout_tests/models/**test_expectations_unittest.py#**L121<http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py#L121> > However, ...
9 years, 4 months ago (2011-08-19 16:40:26 UTC) #6
imasaki1
On 2011/08/19 16:40:26, Ami Fischman wrote: > > > > So, I was also trying ...
9 years, 4 months ago (2011-08-19 16:53:31 UTC) #7
Ami GONE FROM CHROMIUM
You made the same init call as the webkit test but it failed for you?
9 years, 4 months ago (2011-08-19 17:55:28 UTC) #8
Ami GONE FROM CHROMIUM
FTR: off-reviewlog Kenji had an exchange w/ dglazkov@ and abarth@ about depending on webkitpy code ...
9 years, 4 months ago (2011-08-20 04:16:49 UTC) #9
imasaki1
Thanks! http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py#newcode52 media/tools/layout_tests/test_expectations.py:52: {'media/video-zoom.html': [{'LINUX':True, 'DEBUG':True ....}, On 2011/08/20 04:16:50, Ami ...
9 years, 4 months ago (2011-08-20 08:25:35 UTC) #10
Ami GONE FROM CHROMIUM
Close. http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py#newcode116 media/tools/layout_tests/test_expectations.py:116: return '' On 2011/08/20 08:25:36, imasaki1 wrote: > ...
9 years, 4 months ago (2011-08-20 17:52:23 UTC) #11
imasaki1
Thanks for quick reply. http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/4002/media/tools/layout_tests/test_expectations.py#newcode116 media/tools/layout_tests/test_expectations.py:116: return '' On 2011/08/20 17:52:23, ...
9 years, 4 months ago (2011-08-20 18:07:38 UTC) #12
Ami GONE FROM WEBRTC_CHROMIUM
http://codereview.chromium.org/7671049/diff/15001/media/tools/layout_tests/test_expectations_unittest.py File media/tools/layout_tests/test_expectations_unittest.py (right): http://codereview.chromium.org/7671049/diff/15001/media/tools/layout_tests/test_expectations_unittest.py#newcode22 media/tools/layout_tests/test_expectations_unittest.py:22: line = "BUGCR86714 MAC GPU : media/video-zoom.html = CRASH ...
9 years, 4 months ago (2011-08-20 18:21:00 UTC) #13
imasaki1
Thanks! http://codereview.chromium.org/7671049/diff/15001/media/tools/layout_tests/test_expectations_unittest.py File media/tools/layout_tests/test_expectations_unittest.py (right): http://codereview.chromium.org/7671049/diff/15001/media/tools/layout_tests/test_expectations_unittest.py#newcode22 media/tools/layout_tests/test_expectations_unittest.py:22: line = "BUGCR86714 MAC GPU : media/video-zoom.html = ...
9 years, 4 months ago (2011-08-20 20:30:02 UTC) #14
Ami GONE FROM CHROMIUM
LGTM
9 years, 4 months ago (2011-08-20 20:57:16 UTC) #15
dennis_jeffrey
A bunch of minor comments ;-) http://codereview.chromium.org/7671049/diff/12003/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/12003/media/tools/layout_tests/test_expectations.py#newcode6 media/tools/layout_tests/test_expectations.py:6: """A Module for ...
9 years, 4 months ago (2011-08-22 16:39:39 UTC) #16
imasaki1
I hope I have addressed all issues. Thank you! http://codereview.chromium.org/7671049/diff/12003/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/12003/media/tools/layout_tests/test_expectations.py#newcode6 media/tools/layout_tests/test_expectations.py:6: ...
9 years, 4 months ago (2011-08-22 18:27:52 UTC) #17
dennis_jeffrey
LGTM Just 3 minor comments to address before submitting. Thank you! http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): ...
9 years, 4 months ago (2011-08-22 18:59:24 UTC) #18
imasaki1
Thanks. Committed. http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/test_expectations.py File media/tools/layout_tests/test_expectations.py (right): http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/test_expectations.py#newcode6 media/tools/layout_tests/test_expectations.py:6: """A Module to analyze test expectations for ...
9 years, 4 months ago (2011-08-22 19:17:29 UTC) #19
imasaki1
9 years, 4 months ago (2011-08-22 19:17:29 UTC) #20
Thanks. Committed.

http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/te...
File media/tools/layout_tests/test_expectations.py (right):

http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/te...
media/tools/layout_tests/test_expectations.py:6: """A Module to analyze test
expectations for Webkit layout tests"""
On 2011/08/22 18:59:24, dennis_jeffrey wrote:
> nit: add period at end of the sentence right after 'tests'

Done.

http://codereview.chromium.org/7671049/diff/18003/media/tools/layout_tests/te...
media/tools/layout_tests/test_expectations.py:58: BUGCR86714 LINUX DEBUG :
media/video-zoom.html = IMAGE
On 2011/08/22 18:59:24, dennis_jeffrey wrote:
> This information is already given in lines 48-49 above.

Removed from here.

Powered by Google App Engine
This is Rietveld 408576698