This allows tests to detect whether to run or not, dependent on which LLD version is required for the test.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
llvm/utils/lit/tests/Inputs/lld-features/lit.cfg | ||
---|---|---|
13–16 | This seems to be leaking from https://reviews.llvm.org/D101995 |
llvm/utils/lit/tests/Inputs/lld-features/lit.cfg | ||
---|---|---|
13–16 | Not entirely sure what you mean by "leaking" here. I'm making use of the environment variable to ensure there's a real file being pointed at so that the features are enabled. Strictly, it's not required as there's no check for existence of the file specified by the environment variable, but that might change in the future. |
llvm/utils/lit/tests/Inputs/lld-features/lit.cfg | ||
---|---|---|
13–16 | My bad, I stupidly thought it was the same test as in the other patch and the rest of my thought process was even more broken. All good. |
This seems to be leaking from https://reviews.llvm.org/D101995