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

Method expand_toolset

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

413 os.chdir(self.workdir)
414
415 def expand_toolset(self, name):
416 """
417 Expands $toolset placeholder in the given file to the name of the
418 toolset currently being tested.
419
420 """
421 self.write(name, self.read(name).replace("$toolset", self.toolset))
422
423 def dump_stdio(self):
424 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