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

Darin Adler darin at apple.com
Wed Oct 3 15:39:03 PDT 2012

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.

-- Darin

More information about the webkit-dev mailing list