From d98b348cb9bc951d74b1be4dfc674477ce33d3f8 Mon Sep 17 00:00:00 2001 From: Viktor Kutuzov Date: Mon, 10 Nov 2014 15:31:56 +0000 Subject: [PATCH] Enable running Ubsan tests on FreeBSD Differential Revision: http://reviews.llvm.org/D6089 llvm-svn: 221599 --- compiler-rt/test/ubsan/lit.common.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/ubsan/lit.common.cfg b/compiler-rt/test/ubsan/lit.common.cfg index 1ce111253ce3..d28733a61cf8 100644 --- a/compiler-rt/test/ubsan/lit.common.cfg +++ b/compiler-rt/test/ubsan/lit.common.cfg @@ -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