summaryrefslogtreecommitdiff
path: root/test/tsan/lit.cfg
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2016-02-23 01:34:17 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2016-02-23 01:34:17 +0000
commit4f87e957770c76d8cb729346ce3e2c1f764b58e9 (patch)
treee4c32edef2a4d7ed16e60f2ea755c11eb2bda7d0 /test/tsan/lit.cfg
parent250dd5e3f5d3b125d5bd269a97b3f0f2a8d63f25 (diff)
[tests] Always specify correct config.target_arch when configuring test suite.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@261601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/lit.cfg')
-rw-r--r--test/tsan/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/lit.cfg b/test/tsan/lit.cfg
index aa74ad849..1fc1eccd1 100644
--- a/test/tsan/lit.cfg
+++ b/test/tsan/lit.cfg
@@ -50,7 +50,7 @@ clang_tsan_cxxflags = config.cxx_mode_flags + clang_tsan_cflags
if config.has_libcxx and config.host_os != 'Darwin':
# FIXME: Dehardcode this path somehow.
libcxx_path = os.path.join(config.compiler_rt_obj_root, "lib",
- "tsan", "libcxx_tsan_" + config.arch)
+ "tsan", "libcxx_tsan_" + config.target_arch)
libcxx_incdir = os.path.join(libcxx_path, "include", "c++", "v1")
libcxx_libdir = os.path.join(libcxx_path, "lib")
libcxx_so = os.path.join(libcxx_libdir, "libc++.so")