[PATCH] D152709: [lit] Avoid os.path.realpath in lit.py due to MAX_PATH limitations on Windows
Nuno Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 02:01:56 PDT 2023
nlopes added a comment.
This commit started failing running llvm-lit outside the llvm directory:
$ ~/llvm/build/bin/llvm-lit -vv ~/llvm/llvm/test/Transforms
llvm-lit: /bitbucket/nlopes/llvm/llvm/utils/lit/lit/TestingConfig.py:151: fatal: unable to parse config file '/home/nlopes/llvm/llvm/test/lit.cfg.py', traceback: Traceback (most recent call last):
File "/bitbucket/nlopes/llvm/llvm/utils/lit/lit/TestingConfig.py", line 139, in load_from_path
exec(compile(data, path, "exec"), cfg_globals, None)
File "/home/nlopes/llvm/llvm/test/lit.cfg.py", line 21, in <module>
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
AttributeError: 'NoneType' object has no attribute 'use_lit_shell'
Any idea of what's going on?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152709/new/
https://reviews.llvm.org/D152709
More information about the llvm-commits
mailing list