mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
tests: Add .native.exp output files for tests that differ with native.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
22
tests/basics/sys_tracebacklimit.py.native.exp
Normal file
22
tests/basics/sys_tracebacklimit.py.native.exp
Normal file
@@ -0,0 +1,22 @@
|
||||
ValueError: value
|
||||
|
||||
limit 4
|
||||
ValueError: value
|
||||
|
||||
limit 3
|
||||
ValueError: value
|
||||
|
||||
limit 2
|
||||
ValueError: value
|
||||
|
||||
limit 1
|
||||
ValueError: value
|
||||
|
||||
limit 0
|
||||
ValueError: value
|
||||
|
||||
limit -1
|
||||
ValueError: value
|
||||
|
||||
True
|
||||
False
|
||||
2
tests/micropython/emg_exc.py.native.exp
Normal file
2
tests/micropython/emg_exc.py.native.exp
Normal file
@@ -0,0 +1,2 @@
|
||||
ValueError: 1
|
||||
|
||||
3
tests/micropython/heapalloc_traceback.py.native.exp
Normal file
3
tests/micropython/heapalloc_traceback.py.native.exp
Normal file
@@ -0,0 +1,3 @@
|
||||
StopIteration
|
||||
StopIteration:
|
||||
|
||||
18
tests/misc/print_exception.py.native.exp
Normal file
18
tests/misc/print_exception.py.native.exp
Normal file
@@ -0,0 +1,18 @@
|
||||
caught
|
||||
Exception: msg
|
||||
|
||||
caught
|
||||
Exception: fail
|
||||
|
||||
finally
|
||||
caught
|
||||
Exception: fail
|
||||
|
||||
reraise
|
||||
Exception: fail
|
||||
|
||||
caught
|
||||
Exception: fail
|
||||
|
||||
AttributeError: 'function' object has no attribute 'X'
|
||||
|
||||
@@ -126,12 +126,6 @@ emitter_tests_to_skip = {
|
||||
"basics/unboundlocal.py",
|
||||
# These require "raise from".
|
||||
"basics/exception_chain.py",
|
||||
# These require proper traceback info.
|
||||
"basics/sys_tracebacklimit.py",
|
||||
"misc/print_exception.py",
|
||||
"micropython/emg_exc.py",
|
||||
"micropython/heapalloc_traceback.py",
|
||||
"thread/thread_exc2.py",
|
||||
# These require stack-allocated slice optimisation.
|
||||
"micropython/heapalloc_slice.py",
|
||||
# These require running the scheduler.
|
||||
|
||||
3
tests/thread/thread_exc2.py.native.exp
Normal file
3
tests/thread/thread_exc2.py.native.exp
Normal file
@@ -0,0 +1,3 @@
|
||||
Unhandled exception in thread started by <function thread_entry at 0x\[0-9a-f\]\+>
|
||||
ValueError:
|
||||
done
|
||||
Reference in New Issue
Block a user