[XRay] Fix argv0-log-file-name.cc race when tests are executed parallelly

`rm xray-log.*` may delete log files of other tests and cause them to
fail, when tests are executed parallelly.

llvm-svn: 343282
This commit is contained in:
Fangrui Song 2018-09-27 23:59:57 +00:00
parent 1b29615330
commit 0ce4b37bd0
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
// RUN: %clangxx_xray -std=c++11 %s -o %t
// RUN: XRAY_OPTIONS="patch_premain=true xray_naive_log=true" %run %t > xray.log.file.name 2>&1
// RUN: ls | FileCheck xray.log.file.name
// RUN: rm xray-log.* xray.log.file.name
// RUN: rm xray-log.argv0-log-file-name.* xray.log.file.name
// UNSUPPORTED: target-is-mips64,target-is-mips64el