HomePhabricator

[OpenMP] Fix the test by generating output file in temporary directory

Authored by kbobyrev on Feb 26 2020, 5:07 AM.

Description

[OpenMP] Fix the test by generating output file in temporary directory

Related Revison: D74925
Commit: 396b7253944e927878dff2f6321efabb3aaa0f45

Details

Committed
kbobyrevFeb 26 2020, 5:07 AM
Parents
rG8c2cf499e611: [clang][Tooling] Add a way to tokenize a FileRange
Branches
Unknown
Tags
Unknown

Event Timeline

Thx. Can you tell me what the problem was?

Thx. Can you tell me what the problem was?

Sure! This test leaves an artifact in the source directory (next to the test). If the build system has no permissions to modify the source tree and add/remove files, it fails. Therefore, generated files are typically redirected to /tmp.