New issue
Advanced search Search tips

Issue 643286 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

YouCompleteMe tests fail on Mac

Project Member Reported by sdy@chromium.org, Sep 1 2016

Issue description

Most of the tests fail with errors like this:

======================================================================
ERROR: testGetClangOptionsForKnownCppFile (__main__.Chromium_ycmExtraConfTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/chromium.ycm_extra_conf_unittest.py", line 147, in testGetClangOptionsForKnownCppFile
    self.chrome_root, os.path.join(self.chrome_root, 'one.cpp'))
  File "chromium.ycm_extra_conf.py", line 323, in GetClangOptionsFromNinjaForFilename
    out_dir = os.path.realpath(GetNinjaOutputDirectory(chrome_root))
  File "/Users/sdy/lsrc/chromium/src/tools/vim/ninja_output.py", line 58, in GetNinjaOutputDirectory
    return max(generate_paths(), key=approx_directory_mtime)
  File "/Users/sdy/lsrc/chromium/src/tools/vim/ninja_output.py", line 47, in generate_paths
    for config in os.listdir(out_path):
OSError: [Errno 2] No such file or directory: '/var/folders/dl/slhx389x1k1bmnjh4hvjq3g000c2my/T/tmpYe_pj4/src/../../../../../../../private/var/folders/dl/slhx389x1k1bmnjh4hvjq3g000c2my/T/tmpYe_pj4/src/out'
 

Comment 1 by sdy@chromium.org, Sep 9 2016

Status: Fixed (was: Started)

Sign in to add a comment