[compiler-rt] r253673 - Disable the cfi tests on Windows

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 08:29:54 PST 2015


Author: hans
Date: Fri Nov 20 10:29:53 2015
New Revision: 253673

URL: http://llvm.org/viewvc/llvm-project?rev=253673&view=rev
Log:
Disable the cfi tests on Windows

They are currently broken and there seems to be no bot coverage
for this configuration so it's essentially unspported.

Modified:
    compiler-rt/trunk/test/cfi/lit.cfg

Modified: compiler-rt/trunk/test/cfi/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/lit.cfg?rev=253673&r1=253672&r2=253673&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/lit.cfg (original)
+++ compiler-rt/trunk/test/cfi/lit.cfg Fri Nov 20 10:29:53 2015
@@ -8,7 +8,10 @@ config.test_source_root = os.path.dirnam
 clangxx = ' '.join([config.clang] + config.cxx_mode_flags)
 
 config.substitutions.append((r"%clangxx ", clangxx + ' '))
-if config.lto_supported:
+if config.host_os == 'Windows':
+  # FIXME: Keep these tests working on Windows.
+  config.unsupported = True
+elif config.lto_supported:
   clangxx_cfi = ' '.join(config.lto_launch + [clangxx] + config.lto_flags + ['-flto -fsanitize=cfi '])
   config.substitutions.append((r"%clangxx_cfi ", clangxx_cfi))
   config.substitutions.append((r"%clangxx_cfi_diag ", clangxx_cfi + '-fno-sanitize-trap=cfi -fsanitize-recover=cfi '))




More information about the llvm-commits mailing list