cling
cling copied to clipboard
Wrong cling binary location in test/lit.cfg when using external LLVM
Describe the bug
Attempting to run the test suite of Cling with the Lit tool, the cling path used was wrong. This is because it is formed using config.llvm_tools_dir in test/lit.cfg. It should rather use config.cling_obj_root + '/bin/ ....
Expected behavior
The cling binary should be correctly resolved during tests.
To Reproduce
Build cling using external LLVM & Clang libraries. Run the test suite.
Setup
- Cling version: 0.9
- Operating system: Guix System
- How you obtained Cling: from sources