[llvm-commits] [patch] Add support for emulators in RunSafely.sh

Nick Lewycky nlewycky at google.com
Wed Jan 13 14:51:26 PST 2010


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.

This isn't compatible GET_STABLE_NUMBERS, nor remote execution. Instead of
modifying just one RUNSAFELY line to add $(EMULATOR_OPT), you should put:

  ifdef EMULATOR
    RUNSAFELY := $(RUNSAFELY) $(EMULATOR_OPT)
  endif

at line 109.

Nick

On 13 January 2010 14:42, Rafael Espindola <espindola at google.com> wrote:

> The attached patch adds support for running the llvm testsuite with an
> emulator. This is handy when a real device is not available and a
> patch needs more testing then just a "make check".
>
> Cheers,
> --
> Rafael Ávila de Espíndola
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100113/7bb23be0/attachment.html>


More information about the llvm-commits mailing list