Enable running Ubsan tests on FreeBSD

Differential Revision: http://reviews.llvm.org/D6089

llvm-svn: 221599
This commit is contained in:
Viktor Kutuzov 2014-11-10 15:31:56 +00:00
parent fb9e32b4b2
commit d98b348cb9
1 changed files with 2 additions and 3 deletions

View File

@ -46,9 +46,8 @@ config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags
# 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