[compiler-rt] r221599 - Enable running Ubsan tests on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Mon Nov 10 07:31:56 PST 2014
Author: vkutuzov
Date: Mon Nov 10 09:31:56 2014
New Revision: 221599
URL: http://llvm.org/viewvc/llvm-project?rev=221599&view=rev
Log:
Enable running Ubsan tests on FreeBSD
Differential Revision: http://reviews.llvm.org/D6089
Modified:
compiler-rt/trunk/test/ubsan/lit.common.cfg
Modified: compiler-rt/trunk/test/ubsan/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/lit.common.cfg?rev=221599&r1=221598&r2=221599&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/lit.common.cfg (original)
+++ compiler-rt/trunk/test/ubsan/lit.common.cfg Mon Nov 10 09:31:56 2014
@@ -46,9 +46,8 @@ config.substitutions.append( ("%clangxx
# Default test suffixes.
config.suffixes = ['.c', '.cc', '.cpp']
-# UndefinedBehaviorSanitizer tests are currently supported on
-# Linux and Darwin only.
-if config.host_os not in ['Linux', 'Darwin']:
+# Check that the host supports UndefinedBehaviorSanitizer tests
+if config.host_os not in ['Linux', 'Darwin', 'FreeBSD']:
config.unsupported = True
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
More information about the llvm-commits
mailing list