MCPcopy Create free account
hub / github.com/boostorg/build / expand_toolset

Method expand_toolset

v2/test/BoostBuild.py:402–408  ·  view source on GitHub ↗

Expands $toolset placeholder in the given file to the name of the toolset currently being tested.

(self, name)

Source from the content-addressed store, hash-verified

400 os.chdir(self.workdir)
401
402 def expand_toolset(self, name):
403 """
404 Expands $toolset placeholder in the given file to the name of the
405 toolset currently being tested.
406
407 """
408 self.write(name, self.read(name).replace("$toolset", self.toolset))
409
410 def dump_stdio(self):
411 annotation("STDOUT", self.stdout())

Callers 2

prebuilt.pyFile · 0.80
expansion.pyFile · 0.80

Calls 2

writeMethod · 0.95
readMethod · 0.95

Tested by

no test coverage detected