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

Function test

test/core_arguments.py:16–22  ·  view source on GitHub ↗
(t, type, input, output, status=0)

Source from the content-addressed store, hash-verified

14
15
16def test(t, type, input, output, status=0):
17 code = ["include echo_args.jam ; echo_%s" % type]
18 if input: code.append(input)
19 code.append(";")
20 t.write("file.jam", " ".join(code))
21 t.run_build_system(["-ffile.jam"], status=status)
22 t.expect_output_lines(output);
23
24
25def test_args(t, *args, **kwargs):

Callers 2

test_argsFunction · 0.70
test_varargsFunction · 0.70

Calls 4

appendMethod · 0.80
run_build_systemMethod · 0.80
expect_output_linesMethod · 0.80
writeMethod · 0.45

Tested by 2

test_argsFunction · 0.56
test_varargsFunction · 0.56