Paul Sokolovsky
806c07c898
tests/micropython/heapalloc_iter: Improve skippability.
2017-04-03 00:27:01 +03:00
Paul Sokolovsky
4a4bb84e92
tests/heapalloc_str: Test no-replacement case for str.replace().
2017-03-22 22:17:52 +03:00
Damien George
c772817dee
tests/micropython: Add tests for micropython.schedule().
2017-03-20 15:20:26 +11:00
Damien George
e29f704b67
tests/micropython/viper_error: Add more tests to improve coverage.
2017-03-14 23:05:41 +11:00
Paul Sokolovsky
bc5bffbf65
tests/micropython/opt_level: Clarify the expected output for opt_level == 3.
2017-03-09 23:22:31 +01:00
Paul Sokolovsky
53018d5ad2
tests/micropython/heapalloc_traceback: Fix backtrace line # after refactor.
2017-03-09 12:51:45 +01:00
Paul Sokolovsky
1a71d30fb8
tests/micropython: Make uio-using tests skippable.
2017-03-09 10:26:31 +01:00
Paul Sokolovsky
c98d7461a1
tests/micropython/: Split off intbig tests.
2017-03-07 07:12:58 +01:00
Damien George
f62503dc47
tests/micropython: Add test for consts that are bignums.
2017-02-24 13:08:18 +11:00
Paul Sokolovsky
6fc6f10b1e
tests/heapalloc_exc_raise.py: Heap alloc test for raising/catching exc.
2017-02-20 04:22:32 +03:00
Damien George
7839b8b827
tests/micropython/heapalloc_iter: Add tests for contains and unpack.
2017-02-16 19:11:34 +11:00
Damien George
019048a6dc
tests/micropython: Add test for iterating with the heap locked.
2017-02-16 19:11:34 +11:00
Paul Sokolovsky
b32880bd51
tests/heapalloc_bytesio: Test for BytesIO with preallocates space.
2017-02-02 00:38:38 +03:00
Paul Sokolovsky
9ffc3ae0e7
tests/heapalloc_str: Test for alloc-free string operations.
...
Starts with concatenation with an empty string.
2017-01-27 00:49:39 +03:00
Paul Sokolovsky
bd3dd9296b
tests/heapalloc_int_from_bytes: Test that int.from_bytes() can work w/o alloc.
...
For a small number of bytes, it's expected to return a small int without
allocation.
2017-01-21 20:15:56 +03:00
Damien George
fb5838041b
tests/micropython/opt_level: Add test for opt_level 3.
2017-01-19 23:38:11 +11:00
Rami Ali
eae819c0ed
tests/micropython: Add test for micropython.stack_use() function.
2016-12-28 17:46:52 +11:00
Paul Sokolovsky
05aebb9206
tests/heapalloc_inst_call: Test for no alloc for simple object calls.
2016-12-25 00:50:27 +03:00
Damien George
7081ea4119
tests/micropython: Get heapalloc_traceback test running on baremetal.
...
When printing exceptions from files sent to a target by pyboard.py the
filename in the exception is <stdin>, which differs to when running the
script on the PC. So we strip out the filename to make the outputs the
same on all targets (see also misc/print_exception.py test).
2016-12-15 11:11:57 +11:00
Damien George
1f43d49f9e
tests/micropython: Move alloc-less traceback test to separate test file.
...
The native emitter doesn't provide proper traceback info so this test
should not be run in that case.
2016-11-21 17:39:23 +11:00
Damien George
d70f87aaa2
tests/micropython: Add test for creating traceback without allocation.
2016-11-21 17:10:17 +11:00
Damien George
679c0c4c83
tests/micropython: Add test for import from within viper function.
2016-11-10 22:54:55 +11:00
Damien George
34d0b3f85c
tests/micropython: Add tests for heap_lock, and emergency exceptions.
2016-10-14 00:32:34 +11:00
Damien George
5e22afce41
tests: Improve test coverage of py/compile.c.
2016-10-11 12:30:32 +11:00
Damien George
7f0e563de3
tests/micropython: Add test for micropython.opt_level() function.
2016-10-11 11:01:22 +11:00