[libcxx] r217268 - Bugfix: allow additional_features to be empty
Jonathan Roelofs
jonathan at codesourcery.com
Fri Sep 5 12:03:46 PDT 2014
Author: jroelofs
Date: Fri Sep 5 14:03:46 2014
New Revision: 217268
URL: http://llvm.org/viewvc/llvm-project?rev=217268&view=rev
Log:
Bugfix: allow additional_features to be empty
Modified:
libcxx/trunk/test/lit.cfg
Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=217268&r1=217267&r2=217268&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Fri Sep 5 14:03:46 2014
@@ -291,9 +291,10 @@ class Configuration(object):
"inferred use_clang_verify as: %r" % self.use_clang_verify)
def configure_features(self):
- additional_features = self.get_lit_conf('additional_features').split(",")
- for f in additional_features:
- self.config.available_features.add(f.strip())
+ additional_features = self.get_lit_conf('additional_features')
+ if additional_features:
+ for f in additional_features.split(','):
+ self.config.available_features.add(f.strip())
# Figure out which of the required locales we support
locales = {
More information about the cfe-commits
mailing list