MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / test_stack

Function test_stack

test/signal/test-stacktrace.py:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def test_stack():
34 _, stdout, stderr = __call_process()
35 assert stderr == ''
36 lines = stdout.splitlines()
37 assert lines[0] == 'Callstack:'
38 assert lines[1].endswith('my_func_2()')
39 assert lines[2].endswith('my_func()')

Callers

nothing calls this directly

Calls 1

__call_processFunction · 0.70

Tested by

no test coverage detected