RESOLVED FIXED 34739
update run-chromium-webkit-tests to work w/ chromium-linux, chromium-win
https://bugs.webkit.org/show_bug.cgi?id=34739
Summary update run-chromium-webkit-tests to work w/ chromium-linux, chromium-win
Dirk Pranke
Reported 2010-02-08 19:12:34 PST
There are various bugs preventing run-chromiu-webkit-tests from actually working on either the Linux or Win ports of chromium.
Attachments
Patch (14.76 KB, patch)
2010-02-08 19:18 PST, Dirk Pranke
no flags
Patch (15.08 KB, patch)
2010-02-09 12:44 PST, Dirk Pranke
no flags
Dirk Pranke
Comment 1 2010-02-08 19:18:13 PST
Adam Barth
Comment 2 2010-02-09 12:28:19 PST
Comment on attachment 48384 [details] Patch + port_to_use There are some whitespace errors around the above. + Working around a race in Python 2.4's implementation of Popen(). Huh? This doesn't look right. We either need a more detailed comment or to call the API in another way that avoids the race. This just looks like it will be buggy. Maybe we need to call wait() at some point? We do something similar in webkit-patch somewhere. The rest of the patch LGTM. Maybe land the rest and re-visit the Popen issue later?
Dirk Pranke
Comment 3 2010-02-09 12:44:15 PST
Dirk Pranke
Comment 4 2010-02-09 12:46:52 PST
(In reply to comment #2) > (From update of attachment 48384 [details]) > + port_to_use > > There are some whitespace errors around the above. > Fixed. > + Working around a race in Python 2.4's implementation of Popen(). > > Huh? This doesn't look right. We either need a more detailed comment or to > call the API in another way that avoids the race. This just looks like it will > be buggy. Maybe we need to call wait() at some point? We do something similar > in webkit-patch somewhere. > I added a comment with a pointer to the python bug ( http://bugs.python.org/issue1199282 ). Note that the bug is fixed in Python 2.5. You can't work around it, and the windows port won't work reliably without this. I've needed to use this workaround several times in the chromium.org codebase . > The rest of the patch LGTM. Maybe land the rest and re-visit the Popen issue > later?
Eric Seidel (no email)
Comment 5 2010-02-10 13:35:55 PST
Comment on attachment 48438 [details] Patch Clearly we need unit testing. Most of these could have been caught by unit tests. OK though.
WebKit Commit Bot
Comment 6 2010-02-10 17:50:51 PST
Comment on attachment 48438 [details] Patch Clearing flags on attachment: 48438 Committed r54635: <http://trac.webkit.org/changeset/54635>
WebKit Commit Bot
Comment 7 2010-02-10 17:51:02 PST
All reviewed patches have been landed. Closing bug.
Adam Barth
Comment 8 2010-02-10 17:56:18 PST
> Clearly we need unit testing. Most of these could have been caught by unit > tests. Tests for the tests! Where does the madness end?
Note You need to log in before you can comment on or make changes to this bug.