This is an archive of the discontinued LLVM Phabricator instance.

[lit] Fix running lit tests in unconfigured source dir
ClosedPublic

Authored by mgorny on Sep 30 2017, 2:17 PM.

Details

Summary

Fix llvm_tools_dir attribute access not to fail when the variable is not
present. This directory is not really necessary to run lit tests,
and the code already accounts for it being None.

The reference was added in rL313407, and it breaks the stand-alone lit
package in Gentoo.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Sep 30 2017, 2:17 PM
This revision was automatically updated to reflect the committed changes.