diff options
author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-10 06:55:17 +0000 |
---|---|---|
committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-10 06:55:17 +0000 |
commit | 918df1abd83df29d3069db55222177c3f0a8927c (patch) | |
tree | 15b7bd0fcfba28bbd4b57fe987dd98b7185e49a9 /compiler-rt | |
parent | 4191cbce8c7d9bcc151a0b4b406959a48b0883b7 (diff) | |
download | bcm5719-llvm-918df1abd83df29d3069db55222177c3f0a8927c.tar.gz bcm5719-llvm-918df1abd83df29d3069db55222177c3f0a8927c.zip |
[Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specific
Differential Revision: http://reviews.llvm.org/D5670
llvm-svn: 219478
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/tsan/Linux/lit.local.cfg | 9 | ||||
-rw-r--r-- | compiler-rt/test/tsan/Linux/user_fopen.cc (renamed from compiler-rt/test/tsan/user_fopen.cc) | 0 | ||||
-rw-r--r-- | compiler-rt/test/tsan/Linux/user_malloc.cc (renamed from compiler-rt/test/tsan/user_malloc.cc) | 0 |
3 files changed, 9 insertions, 0 deletions
diff --git a/compiler-rt/test/tsan/Linux/lit.local.cfg b/compiler-rt/test/tsan/Linux/lit.local.cfg new file mode 100644 index 00000000000..57271b8078a --- /dev/null +++ b/compiler-rt/test/tsan/Linux/lit.local.cfg @@ -0,0 +1,9 @@ +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +root = getRoot(config) + +if root.host_os not in ['Linux']: + config.unsupported = True diff --git a/compiler-rt/test/tsan/user_fopen.cc b/compiler-rt/test/tsan/Linux/user_fopen.cc index f350a99119f..f350a99119f 100644 --- a/compiler-rt/test/tsan/user_fopen.cc +++ b/compiler-rt/test/tsan/Linux/user_fopen.cc diff --git a/compiler-rt/test/tsan/user_malloc.cc b/compiler-rt/test/tsan/Linux/user_malloc.cc index 21067707408..21067707408 100644 --- a/compiler-rt/test/tsan/user_malloc.cc +++ b/compiler-rt/test/tsan/Linux/user_malloc.cc |