Bug 86628 - [EFL][DRT] Structure test_expectations.txt into meaningful sections
Summary: [EFL][DRT] Structure test_expectations.txt into meaningful sections
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 312.x
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dominik Röttsches (drott)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 07:31 PDT by Dominik Röttsches (drott)
Modified: 2012-05-22 04:58 PDT (History)
8 users (show)

See Also:


Attachments
Structuring test_expectations.txt (12.90 KB, patch)
2012-05-16 08:15 PDT, Dominik Röttsches (drott)
no flags Details | Formatted Diff | Diff
Structuring test_expectations.txt, updated (16.35 KB, patch)
2012-05-22 04:21 PDT, Dominik Röttsches (drott)
no flags Details | Formatted Diff | Diff
Structuring test_expectations.txt, updated (16.35 KB, patch)
2012-05-22 04:25 PDT, Dominik Röttsches (drott)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Röttsches (drott) 2012-05-16 07:31:08 PDT
We come to realize that we're facing a couple of features and testcases that don't necessarily apply or make sense on EFL.
Let's reflect that in our test_expectations.txt - and while we're at it, introduce three more categories:

    a) Expected Failures
    b) Crashes
    c) Flaky tests
    d) Interim failures (failures that show up on the buildbot which are expected to be fixed within a short timeframe).
Comment 1 Dominik Röttsches (drott) 2012-05-16 08:15:02 PDT
Created attachment 142266 [details]
Structuring test_expectations.txt
Comment 2 Raphael Kubo da Costa (:rakuco) 2012-05-16 08:21:23 PDT
Awesome, I fully support this.
Comment 3 Thiago Marcos P. Santos 2012-05-16 08:25:19 PDT
I like the idea. Some suggestions:

- If the feature is not relevant, i.e something that is Mac specific, we should move to a WONTFIX-kind of section and skip the test. Otherwise we are just making the test run slower.

- Make it clear that we should not add comments on top of tests that are associated to a bug (people should make the observations on the bug instead and not pollute the test_expectation.txt file)
Comment 4 Dominik Röttsches (drott) 2012-05-16 08:28:48 PDT
(In reply to comment #3)
> I like the idea. Some suggestions:
> 
> - If the feature is not relevant, i.e something that is Mac specific, we should move to a WONTFIX-kind of section and skip the test. Otherwise we are just making the test run slower.

Wouldn't such a WONTFIX test fit in the first category?

> - Make it clear that we should not add comments on top of tests that are associated to a bug (people should make the observations on the bug instead and not pollute the test_expectation.txt file)

We can agree on that and delete the comments for issue where we have bugs. Opinions welcome. Personally, I don't mind to have a one-line comment to get an idea what the bug is about.
Comment 5 Thiago Marcos P. Santos 2012-05-16 08:38:19 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > I like the idea. Some suggestions:
> > 
> > - If the feature is not relevant, i.e something that is Mac specific, we should move to a WONTFIX-kind of section and skip the test. Otherwise we are just making the test run slower.
> 
> Wouldn't such a WONTFIX test fit in the first category?
> 

Hmmm... yes. But we should skip tests related to features that we don't want to activate. Most of them will timeout and consume precious time of developers testing before submitting patches.

> > - Make it clear that we should not add comments on top of tests that are associated to a bug (people should make the observations on the bug instead and not pollute the test_expectation.txt file)
> 
> We can agree on that and delete the comments for issue where we have bugs. Opinions welcome. Personally, I don't mind to have a one-line comment to get an idea what the bug is about.

I'm afraid of information scattering. We have some entries with comments but no bugs. If you have something useful to add, open a bug and set the entry pointing to the bug.

We should make this a rule.
Comment 6 Chris Dumez 2012-05-16 08:48:05 PDT
Comment on attachment 142266 [details]
Structuring test_expectations.txt

LGTM. Exactly what we need.
Comment 7 Sudarsana Nagineni (babu) 2012-05-16 08:59:03 PDT
I also like this idea. How about having a separate section or information in the section d) for the tests which requires new results?
Comment 8 Dominik Röttsches (drott) 2012-05-22 04:21:29 PDT
Created attachment 143270 [details]
Structuring test_expectations.txt, updated
Comment 9 Dominik Röttsches (drott) 2012-05-22 04:25:01 PDT
Created attachment 143271 [details]
Structuring test_expectations.txt, updated
Comment 10 Gyuyoung Kim 2012-05-22 04:26:48 PDT
Comment on attachment 143271 [details]
Structuring test_expectations.txt, updated

Looks fine to me.
Comment 11 WebKit Review Bot 2012-05-22 04:58:23 PDT
Comment on attachment 143271 [details]
Structuring test_expectations.txt, updated

Clearing flags on attachment: 143271

Committed r117955: <http://trac.webkit.org/changeset/117955>
Comment 12 WebKit Review Bot 2012-05-22 04:58:28 PDT
All reviewed patches have been landed.  Closing bug.