RESOLVED FIXED 136848
run-webkit-tests should count tests submitted as absolute paths once
https://bugs.webkit.org/show_bug.cgi?id=136848
Summary run-webkit-tests should count tests submitted as absolute paths once
youenn fablet
Reported 2014-09-16 02:49:19 PDT
Currently, run-webkit-tests is running several times the same tests when the tests are passed as directories using an absolute path.
Attachments
Patch (1.65 KB, patch)
2014-09-16 02:55 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2014-09-16 02:55:50 PDT
Alexey Proskuryakov
Comment 2 2014-09-16 11:50:09 PDT
It's not obvious to me what use case this fixes. Could you please provide some examples?
youenn fablet
Comment 3 2014-09-16 12:44:23 PDT
As part of bug 134766 and bug 134767, webkit tests are run outside the LayoutTests folder (inside WebKitBuild folder) to keep the source tree clean.
Alexey Proskuryakov
Comment 4 2014-09-16 13:27:36 PDT
That sounds like it has quite a few downsides. I think that we should discuss this on webkit-dev prior ot going forward with bugs. - If the tests are transient and don't have a common root, how are we going to report these to flakiness dashboard? - Currently, I can send a trac link to anyone, and a lot of tests will just run in browser. This is very helpful when a test uncovers a bug in a system component, so there is an easy way to reproduce. With transient tests that are not in the tree, that would not work.
youenn fablet
Comment 5 2014-09-16 14:08:49 PDT
(In reply to comment #4) > That sounds like it has quite a few downsides. I think that we should discuss this on webkit-dev prior ot going forward with bugs. Sure, I will do that again. > - If the tests are transient and don't have a common root, how are we going to report these to flakiness dashboard? > > - Currently, I can send a trac link to anyone, and a lot of tests will just run in browser. This is very helpful when a test uncovers a bug in a system component, so there is an easy way to reproduce. With transient tests that are not in the tree, that would not work. The whole W3C test suite would actually be imported within the LayoutTests folder and run as usual webkit tests. The tests with absolute paths would be run offline by people wanting to gather conformance statistics or to bump the imported W3C test suite version and update related test expectations.
Alexey Proskuryakov
Comment 6 2014-09-16 14:47:54 PDT
I see, that makes more sense to me. Not quite sure why the tree needs to remain clean when doing something like this though - it's easy to revert changes once done.
youenn fablet
Comment 7 2014-09-18 02:50:57 PDT
(In reply to comment #6) > I see, that makes more sense to me. Not quite sure why the tree needs to remain clean when doing something like this though - it's easy to revert changes once done. Running absolute path tests also ensures that all generated files (expected.txt, crash logs, stderr, diff) are located in the same folder as the tests. That makes it a tad easier to compute the conformance results and generate self-contained reports. See http://youennf.github.io/w3c-reports/12092014/w3c_conformance_results.html for instance: the report links each test to its relevant .txt file. We could as well run the tests in a git/svn-ignored LayoutTests sub-folder. The conformance result computation and report generation would probably be somewhat more complex.
WebKit Commit Bot
Comment 8 2014-09-21 13:30:22 PDT
Comment on attachment 238168 [details] Patch Clearing flags on attachment: 238168 Committed r173798: <http://trac.webkit.org/changeset/173798>
WebKit Commit Bot
Comment 9 2014-09-21 13:30:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.