Please nominate your Qt Champions for 2021!

Executing WEBKITQT tests for version 4.8

  • Hi,

    I managed to compile WebKit qt tests by changing file :

       SUBDIRS += QtTestBrowser/
        SUBDIRS += DumpRenderTree/qt/
        SUBDIRS += DumpRenderTree/qt/

    When executing the tests on linux , i have now this issue :


    No handlers could be found for logger "webkitpy.common.system.user"
    Traceback (most recent call last):
    File "/host/Scripts/webkitpy/layout_tests/", line 457, in <module>
    File "/host/Scripts/webkitpy/layout_tests/", line 450, in main
    port = host.port_factory.get(options.platform, options)
    File "/host/Scripts/webkitpy/layout_tests/port/", line 114, in get
    port_name = cls.determine_full_port_name(self._host, options, port_name)
    File "/host/Scripts/webkitpy/layout_tests/port/", line 107, in determine_full_port_name
    return port_name + '-' + cls._determine_architecture(host.filesystem, host.executive, cls._determine_drive
    r_path_statically(host, options))
    File "/host/Scripts/webkitpy/layout_tests/port/", line 89, in _determine_architecture
    file_output = executive.run_command(['file', '--dereference', driver_path], return_stderr=True)
    File "/host/Scripts/webkitpy/common/system/", line 397, in run_command
    File "/host/Scripts/webkitpy/common/system/", line 453, in popen
    return subprocess.Popen(*args, **kwargs)
    File "/usr/lib/python2.7/", line 679, in init
    errread, errwrite)
    File "/usr/lib/python2.7/", line 1228, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory
    Failed to execute host/Scripts/new-run-webkit-tests at host/Scripts/run-webkit-tests line 122

    What does it mean ?
    What is the root cause ?
    Can someone help me ?

    Investigation shows it seems to be linked to the path:

    For instance, when i tape :
    /host/WebKit/Scripts/set-webkit-configuration --release

    i get this error : Could not find top level webkit directory above source directory using FindBin
    from WebKitTools/Scripts/

    It seems the perl file : is looking for a binary contained into directory $sourceDirectory/WebKit.
    So how to configure the $sourceDirectory ?

    Thanks , regards

Log in to reply