[lldb-dev] [Bug 36997] New: lit: unable to parse tools/lldb/lit/lit.cfg
via lldb-dev
lldb-dev at lists.llvm.org
Wed Apr 4 01:32:18 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36997
Bug ID: 36997
Summary: lit: unable to parse tools/lldb/lit/lit.cfg
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: matthias.krueger at famsik.de
CC: llvm-bugs at lists.llvm.org
Hi, I'm trying to run a "check-all" but lit crashes due to broken lldb lit
config:
[ 90%/10/1/11,17.496] Running all regression tests
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/llvm/config.py:334:
note: using clang: /home/matthias/LLVM/LLVM_dev/stage_3_tests/objects/bin/clang
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/llvm/config.py:334:
note: using clang: /home/matthias/LLVM/LLVM_dev/stage_3_tests/objects/bin/clang
llvm-lit:
/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/TestingConfig.py:101:
fatal: unable to parse config file
'/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/tools/lldb/lit/lit.cfg',
traceback: Traceback (most recent call last):
File
"/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/utils/lit/lit/TestingConfig.py",
line 88, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File
"/home/matthias/LLVM/LLVM_dev/stage_3_tests/llvm/tools/lldb/lit/lit.cfg", line
125, in <module>
if re.match(r'icc', config.cc):
File "/usr/lib/python2.7/re.py", line 141, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
FAILED: CMakeFiles/check-all
I have python 2.7.14 installed (also regex module 2018.02.21-1)
This is my build script:
https://github.com/matthiaskrgr/llvm_bootstrap/blob/master/build_git.sh#L361
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180404/2053323e/attachment.html>
More information about the lldb-dev
mailing list