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

Method expand_toolset

test/BoostBuild.py:404–410  ·  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

402 os.chdir(self.workdir)
403
404 def expand_toolset(self, name):
405 """
406 Expands $toolset placeholder in the given file to the name of the
407 toolset currently being tested.
408
409 """
410 self.write(name, self.read(name).replace("$toolset", self.toolset))
411
412 def dump_stdio(self):
413 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