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

Function capture_output_setup

src/tools/testing.py:324–333  ·  view source on GitHub ↗
(target, sources, ps)

Source from the content-addressed store, hash-verified

322 common.shared_library_path_variable(), dll_paths))
323
324def capture_output_setup(target, sources, ps):
325 if __debug__:
326 from ..build.property_set import PropertySet
327 assert is_iterable_typed(target, basestring)
328 assert is_iterable_typed(sources, basestring)
329 assert isinstance(ps, PropertySet)
330 run_path_setup(target[0], sources, ps)
331
332 if ps.get('preserve-test-targets') == ['off']:
333 bjam.call("set-target-variable", target, "REMOVE_TEST_TARGETS", "1")
334
335get_manager().engine().register_bjam_action("testing.capture-output",
336 capture_output_setup)

Callers

nothing calls this directly

Calls 3

is_iterable_typedFunction · 0.90
run_path_setupFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected