[PATCH] D76829: [lit] Introduce setup and teardown routines

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 07:33:41 PDT 2020


ldionne added a comment.

In D76829#1943483 <https://reviews.llvm.org/D76829#1943483>, @broadwaylamb wrote:

> @ldionne I tried to find a way but couldn't. All the code in executor classes is run either at configuration time (when we parse `lit.cfg`), or while running each test. There's no way to tell it to run "when all tests have completed", AFAICT.


The executor does receive file dependencies. It could copy those and remove them after each test, no? I'm not saying setup/teardown isn't useful in lit, I'm just trying to see what other ways we can solve that problem.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76829/new/

https://reviews.llvm.org/D76829





More information about the llvm-commits mailing list