MCPcopy Index your code
hub / github.com/nodejs/node / GetConfiguration

Method GetConfiguration

tools/test.py:885–896  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

883 self.config = None
884
885 def GetConfiguration(self, context):
886 if self.is_loaded:
887 return self.config
888 self.is_loaded = True
889
890 module = get_module('testcfg', self.path)
891 self.config = module.GetConfiguration(context, self.path)
892 if hasattr(self.config, 'additional_flags'):
893 self.config.additional_flags += context.node_args
894 else:
895 self.config.additional_flags = context.node_args
896 return self.config
897
898 def GetBuildRequirements(self, path, context):
899 return self.GetConfiguration(context).GetBuildRequirements()

Callers 3

GetBuildRequirementsMethod · 0.95
AddTestsToListMethod · 0.95
GetTestStatusMethod · 0.95

Calls 1

get_moduleFunction · 0.85

Tested by

no test coverage detected