[PATCH] D44002: [test] Add dotest wrapper

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 09:14:30 PST 2018

JDevlieghere added a comment.

In https://reviews.llvm.org/D44002#1025433, @aprantl wrote:

> Thanks for working on this! Have you thought about how this would work for a bot that wants to run the dotest testsuite against multiple compilers (clang trunk, clang-6.0, clang-5.0, , ...)?

I must admit I haven't. I'm guessing you mean specifically for doing that in combination with lit?

If it's just this one variable that's undecided at compile time, I think we can work around this. Lit itself supports you to pass variables with the `-D` prefix, which could be used to pass a different compiler to dotest. The wrapper itself would just forward that argument. I assume there is (and if there isn't it's trivial to add) support for overwriting the compiler?



More information about the llvm-commits mailing list