[Tsan] Make the user_fopen.cc and user_malloc.cc tests Linux-specific

Differential Revision: http://reviews.llvm.org/D5670

llvm-svn: 219478
This commit is contained in:
Viktor Kutuzov 2014-10-10 06:55:17 +00:00
parent 4191cbce8c
commit 918df1abd8
3 changed files with 9 additions and 0 deletions

View File

@ -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