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

Function _getExternalValues

v2/test/collect_debug_info.py:225–235  ·  view source on GitHub ↗
(t, *args)

Source from the content-addressed store, hash-verified

223
224
225def _getExternalValues(t, *args):
226 t.run_build_system(["---var-name=%s" % x for x in args])
227 result = dict()
228 for x in args:
229 m = re.search(r"^\*\*\*ENV\*\*\* %s: '(.*)' \*\*\*$" % x, t.stdout(),
230 re.MULTILINE)
231 if m:
232 result[x] = m.group(1)
233 else:
234 result[x] = None
235 return result
236
237
238def _getJamVersionInfo(t):

Callers 1

_collectFunction · 0.85

Calls 3

run_build_systemMethod · 0.80
searchMethod · 0.80
stdoutMethod · 0.80

Tested by

no test coverage detected