Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Executing WEBKITQT tests for version 4.8

    Qt WebKit
    1
    1
    1035
    Loading More Posts
    • 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
      ljl_ last edited by

      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 Reply Quote 0
      • First post
        Last post