[webkit-dev] Tips on why run-webkit-tests is not working for me?

Dirk Pranke dpranke at chromium.org
Wed Oct 3 16:18:43 PDT 2012


On Wed, Oct 3, 2012 at 4:18 PM, Dirk Pranke <dpranke at chromium.org> wrote:
> On Wed, Oct 3, 2012 at 3:39 PM, Darin Adler <darin at apple.com> wrote:
>> On Oct 3, 2012, at 9:10 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>>
>>> Could you tell us what your directory structure look like and where you're executing that command? Looks like a path confusion.
>>
>> My WebKit source tree is in ~/Safari/OpenSource and my build products are in ~/Builds. I am running the script inside the ~/Safari/OpenSource directory.
>>
>> On Oct 3, 2012, at 9:11 AM, Ojan Vafai <ojan at chromium.org> wrote:
>>
>>> I'm guessing there's something about your checkout that is confusing the code that finds the path to run-webkit-tests. Does /Users/darin/Safari/Internal/Tools/Scripts/../../../OpenSource/Tools/Scripts/run-webkit-tests actually exist or is that path incorrect?
>>
>> That path is correct, although I don’t know where it’s coming from. Maybe related to how I originally checked out my tree from Subversion.
>>
>> On Oct 3, 2012, at 9:19 AM, Eric Seidel <eric at webkit.org> wrote:
>>
>>> It looks like it's in Mac._build_java_test_support:
>>
>> I don’t think I have Java installed on this computer. Maybe that’s somehow related to the problem.
>>
>>> I would suggest running "test-webkitpy" (which will go through and delete any orphaned .pyc files which could be confusing things).
>>
>> OK, I’ll do that when I get a chance.
>>
>>> Perhaps make is missing?
>>
>> I often use make from the command line to build, so it’s in my path.
>>
>> I wish the error message made it clearer what file couldn’t be found. The thing that changed most recently on my machine is how Xcode is installed, so I’m guessing the problem is somehow related to that, since I’ve run the tests many times in the past.
>>
>
> I can look into making the error clearer, but it's trying to run
> "/usr/bin/make", "-C"
> "/Users/darin/Safari/Internal/Tools/Scripts/../../../OpenSource/LayoutTests/java"]
> (approximately).
>
> It's probably bad that it's hardcoded to look in /usr/bin; is that
> your problem? Try changing the lines of code Eric linked to ...
>

And if you're still having problems feel free to contact me off-list
(on #irc or whatever).

-- Dirk


More information about the webkit-dev mailing list