circuitpython/tests/misc/sys_settrace_loop.py.exp
stijn 108183fcc0 tests/misc/sys_settrace: Make test output independent of invoked path.
The original logic of reducing a full path to a relative one assumes
"tests/misc" is in the filename which is limited in usage: it never works
for CPython on Windows since that will use a backslash as path separator,
and also won't work when the filename is a path not relative to the tests
directory which happens for example in the common case of running
"./run-tests -d misc".

Fix all cases by printing only the bare filename, which requires them all
to start with sys_settrace_ hence the renaming.
2020-12-18 13:56:45 +11:00

73 lines
3.2 KiB
Plaintext

### trace_handler::main event: call
0: @__main__:test_loop => sys_settrace_loop.py:41
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:43
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:44
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:45
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:44
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:45
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:44
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:45
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:44
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:45
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:46
1: @__main__:<module> => sys_settrace_loop.py:58
test_for_loop 3
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:49
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:50
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:51
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:53
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:52
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:53
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:52
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:53
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:52
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:53
1: @__main__:<module> => sys_settrace_loop.py:58
### trace_handler::main event: line
0: @__main__:test_loop => sys_settrace_loop.py:54
1: @__main__:<module> => sys_settrace_loop.py:58
test_while_loop 3
### trace_handler::main event: return
0: @__main__:test_loop => sys_settrace_loop.py:54
1: @__main__:<module> => sys_settrace_loop.py:58
Total traces executed: 23