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

Eric Seidel eric at webkit.org
Wed Oct 3 09:21:18 PDT 2012


This is Executive.run_command:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/system/executive.py#L378

I would suggest running "test-webkitpy" (which will go through and
delete any orphaned .pyc files which could be confusing things).

-eric

On Wed, Oct 3, 2012 at 9:19 AM, Eric Seidel <eric at webkit.org> wrote:
> That stack is confusing.
>
> It looks like it's in Mac._build_java_test_support:
>
> http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py#L133
>
> But that shouldn't be trying to execute run-webkit-tests?
>
> Perhaps make is missing? or the java directory its trying to build is
> missing and it's just printing the wrong path?
>
> 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?
>>
>> -- Darin
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo/webkit-dev
>>


More information about the webkit-dev mailing list