diff options
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 |