WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
45408
Include detailed test modifiers (e.g. FLAKY) in results.json for non-layout tests
https://bugs.webkit.org/show_bug.cgi?id=45408
Summary
Include detailed test modifiers (e.g. FLAKY) in results.json for non-layout t...
Kinuko Yasuda
Reported
2010-09-08 12:34:03 PDT
Include detailed test modifiers (e.g. FLAKY) in results.json for failing non-layout tests. Currently the results.json only includes FAIL or PASS information.
Attachments
Patch
(18.55 KB, patch)
2010-09-08 13:50 PDT
,
Kinuko Yasuda
no flags
Details
Formatted Diff
Diff
Patch
(22.53 KB, patch)
2010-09-16 00:30 PDT
,
Kinuko Yasuda
ojan
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kinuko Yasuda
Comment 1
2010-09-08 13:50:47 PDT
Created
attachment 66935
[details]
Patch
Ojan Vafai
Comment 2
2010-09-09 00:35:14 PDT
Comment on
attachment 66935
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=66935&action=prettypatch
> WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:64 > + # Shouldn't happen
If this shouldn't happen, lets just leave out the try/except clause. Otherwise, if this starts happening, we'll never know. I'd be OK with the try/except clause if we logged the error (i.e. a warning level log). But, we shouldn't just silently ignore it.
> WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:820 > individual_test_timings)
Indentation is off by a space.
Kinuko Yasuda
Comment 3
2010-09-16 00:30:57 PDT
Created
attachment 67775
[details]
Patch
Kinuko Yasuda
Comment 4
2010-09-16 00:37:55 PDT
Sorry it took for me so long to update this again. Basically mostly same with the previous patch, except that I changed how to record FIXABLE_COUNT. Now it records 'F' for tests with FAILS modifier, 'X' for disabled tests, 'L' for tests with FLAKY modifier and 'P' for others. (In an assumption that the number of FAILS_ tests is the one we should focus on to reduce failures - as we discussed.) (In reply to
comment #2
)
> (From update of
attachment 66935
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=66935&action=prettypatch
> > > WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:64 > > + # Shouldn't happen > If this shouldn't happen, lets just leave out the try/except clause. Otherwise, if this starts happening, we'll never know. I'd be OK with the try/except clause if we logged the error (i.e. a warning level log). But, we shouldn't just silently ignore it.
Added logging.warn in the except part.
> > WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:820 > > individual_test_timings) > Indentation is off by a space.
Fixed.
Ojan Vafai
Comment 5
2010-09-16 14:27:28 PDT
Comment on
attachment 67775
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=67775&action=prettypatch
> WebKitTools/Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:65 > + pass
don't need the pass anymore.
Kinuko Yasuda
Comment 6
2010-09-16 21:30:42 PDT
Committed
r67692
: <
http://trac.webkit.org/changeset/67692
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug