[compiler-rt] r255730 - [cfi] Limit cross-dso tests to Linux.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 16:24:18 PST 2015


Author: eugenis
Date: Tue Dec 15 18:24:18 2015
New Revision: 255730

URL: http://llvm.org/viewvc/llvm-project?rev=255730&view=rev
Log:
[cfi] Limit cross-dso tests to Linux.

Mac is missing the driver support to link the CFI runtime library.

Added:
    compiler-rt/trunk/test/cfi/cross-dso/lit.local.cfg

Added: compiler-rt/trunk/test/cfi/cross-dso/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/cross-dso/lit.local.cfg?rev=255730&view=auto
==============================================================================
--- compiler-rt/trunk/test/cfi/cross-dso/lit.local.cfg (added)
+++ compiler-rt/trunk/test/cfi/cross-dso/lit.local.cfg Tue Dec 15 18:24:18 2015
@@ -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




More information about the llvm-commits mailing list