summaryrefslogtreecommitdiff
path: root/test/tsan/global_race.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-11-19 10:47:06 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-11-19 10:47:06 +0000
commit732f63be80ae3b50335d1372ce865279f43ac762 (patch)
tree95a12517aa1e257f837d0baa09c015d14617cafc /test/tsan/global_race.cc
parentabe5a58b79bb189c7983fcf6c3db220cf11b7804 (diff)
tsan: fix binary names in tests
test_output.sh produces source.cc.exe binaries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/global_race.cc')
-rw-r--r--test/tsan/global_race.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/global_race.cc b/test/tsan/global_race.cc
index f4e8bc8c0..e12bb1d22 100644
--- a/test/tsan/global_race.cc
+++ b/test/tsan/global_race.cc
@@ -1,4 +1,4 @@
-// RUN: %clangxx_tsan -O1 %s -o %T/global_race_bin && %deflake %run %T/global_race_bin | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %T/global_race.cc.exe && %deflake %run %T/global_race.cc.exe | FileCheck %s
#include <pthread.h>
#include <stdio.h>
#include <stddef.h>
@@ -24,5 +24,5 @@ int main() {
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
// CHECK: WARNING: ThreadSanitizer: data race
-// CHECK: Location is global 'GlobalData' of size 40 at [[ADDR]] (global_race_bin+0x{{[0-9,a-f]+}})
+// CHECK: Location is global 'GlobalData' of size 40 at [[ADDR]] (global_race.cc.exe+0x{{[0-9,a-f]+}})