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

Function test_invalid

v2/test/builtin_split_by_characters.py:12–17  ·  view source on GitHub ↗
(params, expected_error_line)

Source from the content-addressed store, hash-verified

10import BoostBuild
11
12def test_invalid(params, expected_error_line):
13 t = BoostBuild.Tester(pass_toolset=0)
14 t.write("file.jam", "SPLIT_BY_CHARACTERS %s ;" % params)
15 t.run_build_system(["-ffile.jam"], status=1)
16 t.expect_output_lines("[*] %s" % expected_error_line)
17 t.cleanup()
18
19def test_valid():
20 t = BoostBuild.Tester(pass_toolset=0)

Callers 1

Calls 4

writeMethod · 0.95
run_build_systemMethod · 0.95
expect_output_linesMethod · 0.95
cleanupMethod · 0.95

Tested by

no test coverage detected