params={})
self.config = lit.TestingConfig.TestingConfig.fromdefaults(self.litConfig)
+ self.config.environment = dict(os.environ)
self.config.test_source_root = SOURCE_ROOT
self.config.test_exec_root = EXEC_PATH
self.config.recursiveExpansionLimit = 10
#
#===----------------------------------------------------------------------===##
+import os
+
+
def _getSubstitution(substitution, config):
for (orig, replacement) in config.substitutions:
if orig == substitution:
def configure(parameters, features, config, lit_config):
note = lambda s: lit_config.note("({}) {}".format(config.name, s))
+ config.environment = dict(os.environ)
# Apply the actions supplied by parameters to the configuration first, since
# parameters are things that we request explicitly and which might influence