Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Executing WEBKITQT tests for version 4.8
Forum Updated to NodeBB v4.3 + New Features

Executing WEBKITQT tests for version 4.8

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    ljl_
    wrote on last edited by
    #1

    Hi,

    I managed to compile WebKit qt tests by changing Tools.pro file :

       SUBDIRS += QtTestBrowser/QtTestBrowser.pro
    
        SUBDIRS += DumpRenderTree/qt/DumpRenderTree.pro
    
        SUBDIRS += DumpRenderTree/qt/ImageDiff.pro
    

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

    host/Scripts/run-webkit-tests

    No handlers could be found for logger "webkitpy.common.system.user"
    Traceback (most recent call last):
    File "/host/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 457, in <module>
    sys.exit(main())
    File "/host/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 450, in main
    port = host.port_factory.get(options.platform, options)
    File "/host/Scripts/webkitpy/layout_tests/port/factory.py", line 114, in get
    port_name = cls.determine_full_port_name(self._host, options, port_name)
    File "/host/Scripts/webkitpy/layout_tests/port/chromium_linux.py", 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/chromium_linux.py", line 89, in _determine_architecture
    file_output = executive.run_command(['file', '--dereference', driver_path], return_stderr=True)
    File "/host/Scripts/webkitpy/common/system/executive.py", line 397, in run_command
    close_fds=self._should_close_fds())
    File "/host/Scripts/webkitpy/common/system/executive.py", line 453, in popen
    return subprocess.Popen(*args, **kwargs)
    File "/usr/lib/python2.7/subprocess.py", line 679, in init
    errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", 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/webkitdirs.pm.

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

    Thanks , regards

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved