Clang - make check-all "broke" ...

Dear all,

Something with regard to that unit testing thing you added broke my “check-all” target …

The output is as follows:

lit.py: lit.cfg:130: note: using clang: ‘/home/dawiejoubert/Source/SVN/Clang/llvm/build/bin/./clang’
Traceback (most recent call last):
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit.py”, line 5, in
lit.main()
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 515, in main
testSuiteCache, localConfigCache)[1])
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 285, in getTestsInSuite
testSuiteCache, localConfigCache)
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 230, in getTests
ts,path_in_suite = getTestSuite(path, litConfig, testSuiteCache)
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 199, in getTestSuite
ts, relative = search(item)
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 183, in search
cache[path] = res = search1(path)
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/main.py”, line 174, in search1
cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
File “/home/dawiejoubert/Source/SVN/Clang/llvm/utils/lit/lit/TestingConfig.py”, line 44, in frompath
exec f in cfg_globals
File “/home/dawiejoubert/Source/SVN/Clang/llvm/tools/clang/test/Unit/lit.cfg”, line 34, in
if config.enable_shared:
AttributeError: TestingConfig instance has no attribute ‘enable_shared’

Hello, Dawie.

Hello, Dawie.

Something with regard to that unit testing thing you added broke my
"check-all" target ...

File
"/home/dawiejoubert/Source/SVN/Clang/llvm/tools/clang/test/Unit/lit.cfg",
line 34, in <module>
if config.enable_shared:
AttributeError: TestingConfig instance has no attribute 'enable_shared'

I expect I have fixed in llvm's r124783 and clang's r124787. Please try again!

Whoops! Sorry about that. :frowning: