Summary: | new-run-webkit-tests appends "/Debug" or "/Release" to $WEBKITOUTPUTDIR | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Raphael Kubo da Costa (:rakuco) <rakuco> | ||||||
Component: | Tools / Tests | Assignee: | Dirk Pranke <dpranke> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, dpranke, eric, leandro, ojan, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | NRWT | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 88680 | ||||||||
Attachments: |
|
Description
Raphael Kubo da Costa (:rakuco)
2011-10-04 12:02:09 PDT
I'm confused. You're expecting WEBKITOUTPUTDIR to be used directly without any /Debug suffix? Yes, just like o-w-r-t does -- in fact, I'd like to have from webkitdirs.pm's determineConfigurationProductDir behave the same way it does with o-r-w-t when usesPerConfigurationBuildDirectory returns true. it looks like after http://trac.webkit.org/changeset/103234 this is only true for gtk and apple win. Created attachment 148174 [details]
Patch
Comment on attachment 148174 [details]
Patch
I don't understand what this does. It seems like it woule be possible to test that Config with a MockExecutive makes the right call.. so we should test that, no?
(In reply to comment #5) > (From update of attachment 148174 [details]) > I don't understand what this does. It seems like it woule be possible to test that Config with a MockExecutive makes the right call.. so we should test that, no? The change makes sure --gtk is passed to webkit-build-directory. In webkit-build-directory, if --gtk is passed, then it returns $WEBKITOUTPUTDIR instead of $WEBKITOUTPUTDIR/$configuration . I can add the mock test as you say. I was reluctant to add a test that actually verified that webkit-build-directory was doing something different for gtk specifically. Created attachment 148373 [details]
add unit test
Comment on attachment 148373 [details]
add unit test
OK.
Committed r120863: <http://trac.webkit.org/changeset/120863> |