micropython/tests/misc
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
..
sys_settrace_subdir tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00
features.py
non_compliant.py
non_compliant.py.exp
non_compliant_lexer.py
non_compliant_lexer.py.exp
print_exception.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
rge_sm.py
sys_atexit.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
sys_atexit.py.exp
sys_exc_info.py all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
sys_settrace_features.py tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00
sys_settrace_generator.py tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00
sys_settrace_generator.py.exp tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00
sys_settrace_loop.py tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00
sys_settrace_loop.py.exp tests/misc/sys_settrace: Make test output independent of invoked path. 2020-12-18 13:56:45 +11:00