It's always replaced with the same (short) static string, so just put that there directly.
No intended behavior change.
Differential D51357
Remove LIT_SITE_CFG_IN_FOOTER. Authored by thakis on Aug 28 2018, 7:41 AM.
Details
It's always replaced with the same (short) static string, so just put that there directly. No intended behavior change.
Diff Detail Event TimelineComment Actions r341130 (clang-tools-extra), r341132 (clang), r341134 (lld), and r341135 (llvm). Thanks! Comment Actions I currently see on my machine: [0/1] Running the LLVM regression tests
llvm-lit: /Users/mbraun/dev/public_llvm/utils/lit/lit/TestingConfig.py:102: fatal: unable to parse config file '/Users/mbraun/dev/public_llvm/build/test/lit.site.cfg.py', traceback: Traceback (most recent call last):
File "/Users/mbraun/dev/public_llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
exec(compile(data, path, 'exec'), cfg_globals, None)
File "/Users/mbraun/dev/public_llvm/build/test/lit.site.cfg.py", line 59, in <module>
lit.llvm.initialize(lit_config, config)
AttributeError: 'module' object has no attribute 'llvm'
FAILED: test/CMakeFiles/check-llvm
cd /Users/mbraun/dev/public_llvm/build/test && /usr/bin/python2.7 /Users/mbraun/dev/public_llvm/build/./bin/llvm-lit -sv /Users/mbraun/dev/public_llvm/build/test
ninja: build stopped: subcommand failed. |