From df8f1c0fc7d5be26274fe653f9f23ee796d4dec7 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 21 Apr 2017 00:43:07 +0000 Subject: [PATCH] Fix 'verify-support' available feature llvm-svn: 300934 --- libcxx/utils/libcxx/test/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index bd99e8ddd978..8e4a973ebf6b 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -311,10 +311,10 @@ class Configuration(object): # NOTE: We do not test for the -verify flag directly because # -verify will always exit with non-zero on an empty file. self.use_clang_verify = self.cxx.isVerifySupported() - if self.use_clang_verify: - self.config.available_features.add('verify-support') self.lit_config.note( "inferred use_clang_verify as: %r" % self.use_clang_verify) + if self.use_clang_verify: + self.config.available_features.add('verify-support') def configure_use_thread_safety(self): '''If set, run clang with -verify on failing tests.'''