This could be used for a valgrind as well, for example. Maybe the flag should be named "run_under" instead of emulator? I'm on the fence on that because valgrind really is an emulator under the hood.<br><br>This isn't compatible GET_STABLE_NUMBERS, nor remote execution. Instead of modifying just one RUNSAFELY line to add $(EMULATOR_OPT), you should put:<br>

<br>  ifdef EMULATOR<br>    RUNSAFELY := $(RUNSAFELY) $(EMULATOR_OPT)<br>  endif<br><br>at line 109.<br><br>Nick<br><br><div class="gmail_quote">On 13 January 2010 14:42, Rafael Espindola <span dir="ltr"><<a href="mailto:espindola@google.com">espindola@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The attached patch adds support for running the llvm testsuite with an<br>
emulator. This is handy when a real device is not available and a<br>
patch needs more testing then just a "make check".<br>
<br>
Cheers,<br>
<font color="#888888">--<br>
Rafael Ávila de Espíndola<br>
</font></blockquote></div><br>