Re: [PATCH] D15160: [LIT] Add the –run-under parameter to lit, which lit.cfg will then use.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 13:18:38 PST 2015


MatzeB added a comment.

In http://reviews.llvm.org/D15160#300727, @MatzeB wrote:

> This patch has no context, and the code seems to just pass along a configuration option, doesn't it?


Oh I just realize that this is probably meant for the test-suite lit stuff.

It feels a bit weird to add parameters to main lit that are not used anywhere inside llvm. Do you expect this to be used often or would using something like "lit -DRUN_UNDER=xxx" which already exists be enough?

For the remote running stuff that I just pushed in test-suite r254545 I decided to configure things through lit.site.cfg and have the configuration options in cmake. This works nicely if the way you build things is somewhat tied to how you execute them which is the case for my typical cases where you cross compile to a device and execute remotely there. Maybe your use case is similar?


http://reviews.llvm.org/D15160





More information about the llvm-commits mailing list