HomePhabricator

[flang][driver] Make the names of files created in unit tests unique (nfc)

Authored by awarzynski on Dec 21 2020, 3:09 AM.

Description

[flang][driver] Make the names of files created in unit tests unique (nfc)

Using files with identical names leads to unexpected failures when tests
are run in parallel. This is tricky to reproduce, but has been happening
on some buildbots since merging https://reviews.llvm.org/D92854. In that
patch I added a unit test with a non-unique test file. This patch fixes
that.

Details

Auditors
CarolineConcatto
Committed
awarzynskiDec 21 2020, 3:20 AM
Parents
rG5e273b845bc4: [VE] Support STACKSAVE and STACKRESTORE
Branches
Unknown
Tags
Unknown

Event Timeline

CarolineConcatto added a subscriber: CarolineConcatto.

I believe this could be the problem, as I once faced that problem locally.
It could be a possible problem and difficult to reproduce.
Approving it so we could roll-out this assumption.

All concerns with this commit have now been addressed.Dec 21 2020, 3:37 AM