<div dir="ltr">I sympathize with the use case, and in fact if you look at LLVM and Clang's config files they have code which tries to do a trick where if it finds it is running in the source without a lit.site.cfg, then it tries to infer the location of the actual exec_root by seeing if you are the kind of user who puts such things in your path. It's messy and only works for some users and is complicated, so I'm ultimately not a big fan of that solution, but it was the first thing I came up with.<div><br></div><div>The next thing I came up with was the idea of building a tool that baked in the path to the config file, that is llvm-lit. I'm not all that happy with that approach either.r<div><br></div><div>Why did you decide you didn't like this patch?<br><div><br></div><div> - Daniel</div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 11:59 AM, Eric Fiselier <span dir="ltr"><<a href="mailto:eric@efcs.ca" target="_blank">eric@efcs.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I really don't like this patch. There was some suggestion that this feature would go nicely is LIT but I think it's better implemented on a test-suite basis.<br>
<br>
<a href="http://reviews.llvm.org/D6275" target="_blank">http://reviews.llvm.org/D6275</a><br>
<br>
<br>
</blockquote></div><br></div>