[compiler-rt] r348674 - [sanitizer] Add lit.local.cfg for FreeBSD

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 17:00:45 PST 2018


Author: vitalybuka
Date: Fri Dec  7 17:00:45 2018
New Revision: 348674

URL: http://llvm.org/viewvc/llvm-project?rev=348674&view=rev
Log:
[sanitizer] Add lit.local.cfg for FreeBSD

Added:
    compiler-rt/trunk/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg

Added: compiler-rt/trunk/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg?rev=348674&view=auto
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg (added)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg Fri Dec  7 17:00:45 2018
@@ -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 ['FreeBSD']:
+  config.unsupported = True




More information about the llvm-commits mailing list