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

Ojan Vafai ojan at chromium.org
Wed Oct 3 09:11:16 PDT 2012


On Wed, Oct 3, 2012 at 9:05 AM, Darin Adler <darin at apple.com> wrote:

> I’m trying to test some changes on my Mountain Lion Mac, using the Mac
> port. When I call run-webkit-tests it fails with file not found.
>
> Using port 'mac-mountainlion'
> Test configuration: <mountainlion, x86_64, debug>
> Placing test results in /Users/darin/Build/Debug/layout-test-results
> Baseline search path: mac -> generic
> Using Debug build
> Pixel tests disabled
> Regular timeout: 35000, slow test timeout: 175000
> Command line: /Users/darin/Build/Debug/DumpRenderTree -
>
> Found 31448 tests; running 29263, skipping 2185.
> Checking build ...
> OSError raised: [Errno 2] No such file or directory
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py",
> line 110, in run
>       unexpected_result_count = manager.run(args)
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py",
> line 404, in run
>       if not self._set_up_run():
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py",
> line 355, in _set_up_run
>       if not self._port.check_build(self.needs_servers()):
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/port/base.py",
> line 240, in check_build
>       if not self._check_port_build():
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/port/mac.py",
> line 162, in _check_port_build
>       return self._build_java_test_support()
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/port/mac.py",
> line 136, in _build_java_test_support
>       if self._executive.run_command(build_java, return_exit_code=True):
>  # Paths are absolute, so we don't need to set a cwd.
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/common/system/executive.py",
> line 402, in run_command
>       close_fds=self._should_close_fds())
>     File
> "/Users/darin/Safari/OpenSource/Tools/Scripts/webkitpy/common/system/executive.py",
> line 458, in popen
>       return subprocess.Popen(*args, **kwargs)
>     File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
> line 679, in __init__
>       errread, errwrite)
>     File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
> line 1228, in _execute_child
>       raise child_exception
> Failed to execute Tools/Scripts/new-run-webkit-tests at
> /Users/darin/Safari/Internal/Tools/Scripts/../../../OpenSource/Tools/Scripts/run-webkit-tests
> line 126.
>
> Anyone know why?
>

Haven't seen this before. 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?


> -- Darin
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121003/dab1d24f/attachment.html>


More information about the webkit-dev mailing list