Ahh, so just to be clear, both variables are already set, and you're just reading them?  If so that's probably ok.<br><br>What do the filenames of the test outputs look like?  Is there anything in the filename to indicate it's a remote test case?<br><div class="gmail_quote">On Tue, Feb 3, 2015 at 8:37 AM Pavel Labath <<a href="mailto:labath@google.com">labath@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This environment variable is already used to communicate info about the session dir.<br>
<br>
In dotest.py the variable is set (according to the -s option).<br>
Then lldbtest.py takes it and uses it to output its own logs.<br>
<br>
I just copied these two lines from there.<br>
<br>
Potentially I could encapsulate it better, put it in a function or something.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7373" target="_blank">http://reviews.llvm.org/D7373</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
</blockquote></div>