cling icon indicating copy to clipboard operation
cling copied to clipboard

Wrong cling binary location in test/lit.cfg when using external LLVM

Open apteryks opened this issue 4 years ago • 0 comments

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

  1. Cling version: 0.9
  2. Operating system: Guix System
  3. How you obtained Cling: from sources

apteryks avatar Sep 08 '21 13:09 apteryks