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

Function command

test/toolset-mock/src/MockProgram.py:171–180  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

169# str, ordered, unordered, arg, input_file, output_file, target_path
170# kwarg: stdout is text that will be printed on success.
171def command(*args, **kwargs):
172 global known_patterns
173 global program_name
174 stdout = kwargs.get("stdout", None)
175 pattern = ordered(*args)
176 known_patterns += [(pattern, stdout)]
177 if program_name is None:
178 program_name = args[0]
179 else:
180 assert(program_name == args[0])
181
182# Use this to filter the recognized commands, based on the properties
183# passed to b2.

Callers 12

ranlib.pyFile · 0.85
ar.pyFile · 0.85
strip.pyFile · 0.85
ld.pyFile · 0.85
gcc-4.8.3-linux.pyFile · 0.85
darwin-4.2.1.pyFile · 0.85
libtool.pyFile · 0.85

Calls 2

orderedClass · 0.85
getMethod · 0.80

Tested by

no test coverage detected