RESOLVED FIXED 170028
webkitpy should be able to run API tests
https://bugs.webkit.org/show_bug.cgi?id=170028
Summary webkitpy should be able to run API tests
Srinivasan Vijayaraghavan
Reported 2017-03-23 15:40:06 PDT
webkitpy should be able to run API tests
Attachments
Patch (5.60 KB, patch)
2017-03-23 15:43 PDT, Srinivasan Vijayaraghavan
no flags
Srinivasan Vijayaraghavan
Comment 1 2017-03-23 15:43:49 PDT
Sam Weinig
Comment 2 2017-03-24 05:37:15 PDT
I don't understand why this is necessary? The api tests script is perl script, why involve another language?
Alexey Proskuryakov
Comment 3 2017-03-24 09:00:32 PDT
It's to run API tests in EWS, which is all written in Python.
Alexey Proskuryakov
Comment 4 2017-03-24 11:50:17 PDT
Comment on attachment 305233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305233&action=review > Tools/Scripts/webkitpy/tool/steps/runtests.py:65 > + if self._options.group == "api": I'm not sure if this is quite right. As API tests run together with regular ones, marking the EWS queue as "api" doesn't seem to make sense.
Srinivasan Vijayaraghavan
Comment 5 2017-03-24 12:17:49 PDT
(In reply to Alexey Proskuryakov from comment #4) > Comment on attachment 305233 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=305233&action=review > > > Tools/Scripts/webkitpy/tool/steps/runtests.py:65 > > + if self._options.group == "api": > > I'm not sure if this is quite right. As API tests run together with regular > ones, marking the EWS queue as "api" doesn't seem to make sense. This code runs when webkit-patch calls itself using a command such as "webkit-patch build-and-test --test --non-interactive --group=x". What's being checked here is the value of x that was passed, not any property of the queue itself. The arguments above are generated in PatchAnalysisTask, which will be changed to allow group=api for running the API tests.
Srinivasan Vijayaraghavan
Comment 6 2017-03-24 12:22:54 PDT
They won't always run together with the layout tests, for example if only one of them needs to be re-tested. So, we need a way to run them independently. The code in EarlyWarningSystem, EarlyWarningSystemTask etc would then decide whether to run both (default), or just one.
WebKit Commit Bot
Comment 7 2017-03-24 14:24:02 PDT
Comment on attachment 305233 [details] Patch Clearing flags on attachment: 305233 Committed r214377: <http://trac.webkit.org/changeset/214377>
WebKit Commit Bot
Comment 8 2017-03-24 14:24:06 PDT
All reviewed patches have been landed. Closing bug.
Daniel Bates
Comment 9 2019-04-05 14:28:03 PDT
*** Bug 106596 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.