summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-09-27 23:59:57 +0000
committerFangrui Song <maskray@google.com>2018-09-27 23:59:57 +0000
commit0ce4b37bd007ebfc05407991d2584fed91b5fbf8 (patch)
tree0905e4e30f5e34da83323671dfcf9d945ce456a6
parent1b2961533054580513f8336979805261422550d3 (diff)
downloadbcm5719-llvm-0ce4b37bd007ebfc05407991d2584fed91b5fbf8.tar.gz
bcm5719-llvm-0ce4b37bd007ebfc05407991d2584fed91b5fbf8.zip
[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
-rw-r--r--compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc b/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc
index 2f9a234f806..a2cb11b4d0d 100644
--- a/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc
+++ b/compiler-rt/test/xray/TestCases/Posix/argv0-log-file-name.cc
@@ -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
OpenPOWER on IntegriCloud