[PATCH] [libcxx] Allow use of ShTest in libc++ tests along with other changes.
eric at efcs.ca
Tue Jan 20 14:46:57 PST 2015
In http://reviews.llvm.org/D7073#111017, @jroelofs wrote:
> Regarding not.py: what did you try in terms of trying to import it from lit proper? (I need to figure out a solution to the same problem for loading the libcxx bits from libcxxabi's config).
Nothing. In particular because I want not.py to work entirely standalone of LIT. The best solution I can think of to import LIT is to add the path to the LIT module to the PYTHONPATH environment variable when running the ShTests. However I'm not sure there is an easy way to detect where LIT is, even inside our lit.cfg file.
More information about the cfe-commits