From 780b4628409919db90e14030a19766e95a3918c2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 25 Aug 2017 15:18:48 +0000 Subject: [PATCH] tsan: fix darwin build Runtime hooks do not seem to work on darwin. The test failed on builder: http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/34882/consoleFull#7286766538254eaf0-7326-4999-85b0-388101f2d404 Move the test to Linux dir. llvm-svn: 311776 --- compiler-rt/test/tsan/{ => Linux}/double_race.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename compiler-rt/test/tsan/{ => Linux}/double_race.cc (98%) diff --git a/compiler-rt/test/tsan/double_race.cc b/compiler-rt/test/tsan/Linux/double_race.cc similarity index 98% rename from compiler-rt/test/tsan/double_race.cc rename to compiler-rt/test/tsan/Linux/double_race.cc index 76b0174285ab..2b4af35a2676 100644 --- a/compiler-rt/test/tsan/double_race.cc +++ b/compiler-rt/test/tsan/Linux/double_race.cc @@ -1,5 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s -#include "test.h" +#include "../test.h" #include // A reproducer for a known issue.