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

Function test_traceback

test/core_source_line_tracking.py:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def test_traceback():
48 t = BoostBuild.Tester(pass_toolset=False)
49 t.write("file.jam", """\
50NOTFILE all ;
51ECHO [ BACKTRACE ] ;""")
52 t.run_build_system(["-ffile.jam"])
53 t.expect_output_lines("file.jam 2 module scope")
54 t.cleanup()
55
56
57def __trailing_newline(eof):

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