[Webkit-unassigned] [Bug 160393] New: import-w3c-tests does not work if you are not using git

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 31 15:23:11 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160393

            Bug ID: 160393
           Summary: import-w3c-tests does not work if you are not using
                    git
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at webkit.org
                CC: lforschler at apple.com

Trying to use import-w3c-tests fails if you have checked out WebKit using SVN.  It gives the following error:

:-) samweinig:.../WebKitSVN/OpenSource> import-w3c-tests -t web-platform-tests/url
Downloading W3C test repositories
Traceback (most recent call last):
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/import-w3c-tests", line 35, in <module>
    sys.exit(test_importer.main(sys.argv[1:], sys.stdout, sys.stderr))
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py", line 106, in main
    test_importer.do_import()
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py", line 189, in do_import
    self.test_downloader().download_tests(self.source_directory, self.options.test_paths)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/w3c/test_downloader.py", line 197, in download_tests
    self.checkout_test_repository(test_repository['revision'], test_repository['url'], self._filesystem.join(self.repository_directory, test_repository['name']))
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/w3c/test_downloader.py", line 83, in checkout_test_repository
    git = self.git('.')
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/w3c/test_downloader.py", line 80, in git
    return Git(test_repository, None, executive=self._host.executive, filesystem=self._filesystem)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 62, in __init__
    SCM.__init__(self, cwd, **kwargs)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/checkout/scm/scm.py", line 66, in __init__
    self.checkout_root = self.find_checkout_root(self.cwd)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 120, in find_checkout_root
    checkout_root = self._run_git(['rev-parse', '--show-toplevel'], cwd=(path or "./")).strip()
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 107, in _run_git
    return self.run(full_command_args, **full_kwargs)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/checkout/scm/scm.py", line 77, in run
    decode_output=decode_output)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/system/executive.py", line 459, in run_command
    (error_handler or self.default_error_handler)(script_error)
  File "/Data/Code/WebKitSVN/OpenSource/Tools/Scripts/webkitpy/common/system/executive.py", line 377, in default_error_handler
    raise error
webkitpy.common.system.executive.ScriptError: Failed to run "['git', 'rev-parse', '--show-toplevel']" exit_code: 128 cwd: .

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160731/7b585d20/attachment.html>


More information about the webkit-unassigned mailing list