diff options
| author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 19:03:46 +0000 |
|---|---|---|
| committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-09-05 19:03:46 +0000 |
| commit | b352db7f577194074e975deacf4f966f1efbbb71 (patch) | |
| tree | 2ea8927ceaf79d82d17ae0a7c17bd28ecfc865db | |
| parent | 262b90321a7d1e5206f2beb4e0c85e518a215560 (diff) | |
| download | bcm5719-llvm-b352db7f577194074e975deacf4f966f1efbbb71.tar.gz bcm5719-llvm-b352db7f577194074e975deacf4f966f1efbbb71.zip | |
Bugfix: allow additional_features to be empty
llvm-svn: 217268
| -rw-r--r-- | libcxx/test/lit.cfg | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg index 670131883d0..bed329fe06d 100644 --- a/libcxx/test/lit.cfg +++ b/libcxx/test/lit.cfg @@ -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 = { |

