summaryrefslogtreecommitdiff
path: root/test/tsan/libcxx/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/libcxx/lit.local.cfg')
-rw-r--r--test/tsan/libcxx/lit.local.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tsan/libcxx/lit.local.cfg b/test/tsan/libcxx/lit.local.cfg
new file mode 100644
index 0000000000000..202b44ee116d9
--- /dev/null
+++ b/test/tsan/libcxx/lit.local.cfg
@@ -0,0 +1,10 @@
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+if not root.has_libcxx:
+ config.unsupported = True
+