[llvm] r187268 - Propagate pipefail when cloning.
Rafael Espindola
rafael.espindola at gmail.com
Fri Jul 26 16:17:38 PDT 2013
Author: rafael
Date: Fri Jul 26 18:17:38 2013
New Revision: 187268
URL: http://llvm.org/viewvc/llvm-project?rev=187268&view=rev
Log:
Propagate pipefail when cloning.
Modified:
llvm/trunk/utils/lit/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=187268&r1=187267&r2=187268&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Fri Jul 26 18:17:38 2013
@@ -47,7 +47,8 @@ class TestingConfig:
test_exec_root = None,
test_source_root = None,
excludes = [],
- available_features = available_features)
+ available_features = available_features,
+ pipefail = False)
if os.path.exists(path):
# FIXME: Improve detection and error reporting of errors in the
@@ -79,7 +80,7 @@ class TestingConfig:
def __init__(self, parent, name, suffixes, test_format,
environment, substitutions, unsupported, on_clone,
test_exec_root, test_source_root, excludes,
- available_features):
+ available_features, pipefail):
self.parent = parent
self.name = str(name)
self.suffixes = set(suffixes)
@@ -92,7 +93,7 @@ class TestingConfig:
self.test_source_root = test_source_root
self.excludes = set(excludes)
self.available_features = set(available_features)
- self.pipefail = True
+ self.pipefail = pipefail
def clone(self, path):
# FIXME: Chain implementations?
@@ -102,7 +103,8 @@ class TestingConfig:
self.environment, self.substitutions,
self.unsupported, self.on_clone,
self.test_exec_root, self.test_source_root,
- self.excludes, self.available_features)
+ self.excludes, self.available_features,
+ self.pipefail)
if cfg.on_clone:
cfg.on_clone(self, cfg, path)
return cfg
More information about the llvm-commits
mailing list