[PATCH] D107953: [Flang] test_symbols.py module file fix

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 11:21:27 PDT 2021


Meinersbur added a comment.

In D107953#2942187 <https://reviews.llvm.org/D107953#2942187>, @awarzynski wrote:

> Is the temporary directory name guaranteed to be unique to every test? That wasn't 100% obvious to me from the docs.

`%t` expands to `<builddir>/tools/flang/test/<filename>.tmp`. That is, it is unique for every test file, but that same for multiple `RUN` lines in the file and between `make check` invocations. However, I think it is better to always have a fresh temporary directory, `flang-new` does not need to see the leftover files from the previous `make check` run, those should be independent.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107953



More information about the llvm-commits mailing list