Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests/basics: bytes/str.partition/rpartition are now optional. | Paul Sokolovsky | 2016-08-07 |
| | | | | Skip tests if not available. | ||
* | extmod/modbtree: Implement __contains__ operation. | Paul Sokolovsky | 2016-08-02 |
| | |||
* | tests/machine1: Revamp to work with unix port (which has "umachine"). | Paul Sokolovsky | 2016-07-31 |
| | |||
* | tests/machine_mem.py: Too non-portable, rework as an example for unix port. | Paul Sokolovsky | 2016-07-31 |
| | |||
* | tests/extmod/btree1: Tests against in-memory DB (using io.BytesIO). | Paul Sokolovsky | 2016-07-31 |
| | |||
* | tests/io/bytesio_ext: Test for .seek()/.flush() on BytesIO. | Paul Sokolovsky | 2016-07-29 |
| | |||
* | tests/run-tests: Make "regex'ed .exp" facility available to device tests. | Paul Sokolovsky | 2016-07-26 |
| | | | | Required to pass bytes_compare3.py (opptional warnings) on devices. | ||
* | tests/unicode_subscr.py: Detailed test for subscripting unicode strings. | Paul Sokolovsky | 2016-07-25 |
| | |||
* | py/objstrunicode: str_index_to_ptr: Should handle bytes too. | Paul Sokolovsky | 2016-07-25 |
| | | | | | There's single str_index_to_ptr() function, called for both bytes and unicode objects, so should handle each properly. | ||
* | tests/extmod/btree1: Close database at the end of test. | Paul Sokolovsky | 2016-07-24 |
| | |||
* | tests/bytes_compare: Rework test for bytes <-> str comparison. | Paul Sokolovsky | 2016-07-22 |
| | | | | This may produce a warning, depending on MicroPython configuration. | ||
* | tests/extmod/machine_pinbase: Skip if machine.PinBase is not available. | Paul Sokolovsky | 2016-07-17 |
| | |||
* | tests: Add test for extended arguments to stream .write() method. | Paul Sokolovsky | 2016-07-14 |
| | |||
* | tests/run-tests: If running thread tests on unix, don't run mutate ones. | Damien George | 2016-07-09 |
| | | | | They will fail because the GIL is disabled on the unix build. | ||
* | tests/meminfo: Update for addition of "max free sz" output. | Paul Sokolovsky | 2016-07-01 |
| | |||
* | tests/thread: Allow some tests to run on ports with not much heap. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Allow thread_sleep1 to run without floating point. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Make sure that thread tests don't rely on floating point. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Make stack-size test run correctly and reliable on uPy. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Add test for concurrent mutating of user instance. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Add test for concurrent interning of strings. | Damien George | 2016-06-28 |
| | | | | Qstr code accesses global state and needs to be made thread safe. | ||
* | tests/thread: Add tests that mutate shared objects. | Damien George | 2016-06-28 |
| | | | | Tests concurrent mutating access to: list, dict, set, bytearray. | ||
* | tests/thread: Rename thread_stress_XXX.py to stress_XXX.py. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Add tests for running GC within a thread, and heap stress. | Damien George | 2016-06-28 |
| | |||
* | tests/thread: Remove need to sleep to wait for completion in some tests. | Damien George | 2016-06-28 |
| | | | | | | Use a lock and a counter instead, and busy wait for all threads to complete. This makes test run faster and they no longer rely on the time module. | ||
* | tests: Add 3 more tests for _thread module. | Damien George | 2016-06-28 |
| | |||
* | tests: Add tests for _thread module. | Damien George | 2016-06-28 |
| | | | | Includes functionality and stress tests. | ||
* | tests/btree1: Add testcase for iterating btree object directly. | Paul Sokolovsky | 2016-06-24 |
| | |||
* | tests/extmod: Add "btree" module test. | Paul Sokolovsky | 2016-06-21 |
| | |||
* | tests: Add a testcase for machine.PinBase class. | Paul Sokolovsky | 2016-06-19 |
| | |||
* | tests: Add testcase for OrderedDict equality. | Mark Anthony Palomer | 2016-06-12 |
| | | | | | | | | | | There's a need for .exp file because CPython renders OrderedDict's as: OrderedDict([('b', 2)]) while MicroPython as: OrderedDict({'b': 2}) | ||
* | tests/bench: Add testcase to compare bytes(N) vs b"\0" * N. | Paul Sokolovsky | 2016-06-08 |
| | | | | Based on python-dev discussion regarding PEP467. | ||
* | py/parse: Treat constants that start with underscore as private. | Damien George | 2016-06-06 |
| | | | | | | | | Assignments of the form "_id = const(value)" are treated as private (following a similar CPython convention) and code is no longer emitted for the assignment to a global variable. See issue #2111. | ||
* | tests/recursive_iternext: Clang/Linux is even more stack-frugal than MacOS. | Paul Sokolovsky | 2016-06-04 |
| | |||
* | tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init(). | Damien George | 2016-06-03 |
| | |||
* | tests/misc/recursive_iternext: Provide more fine-grained selection of N. | Damien George | 2016-06-03 |
| | | | | To work on a variety of ports the selection of N is very specific. | ||
* | tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000. | Damien George | 2016-06-03 |
| | | | | | This makes the test reliably overflow the recursion limit (which is the correct behaviour) on Mac OS X. | ||
* | tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd(). | Paul Sokolovsky | 2016-05-29 |
| | |||
* | py/modstruct: Allow to have "0s" in struct format. | Damien George | 2016-05-28 |
| | |||
* | py/objnamedtuple: Allow passing field names as a tuple. | Antonin ENFRUN | 2016-05-23 |
| | | | | | So the documentation's example works. Besides, a tuple can be more memory efficient. | ||
* | tests: Add testcase for str.center(). | Paul Sokolovsky | 2016-05-22 |
| | |||
* | tests/struct1: Add testcase for an unknown type char. | Paul Sokolovsky | 2016-05-14 |
| | |||
* | tests/basics/string_splitlines: Reinstate feature test for splitlines. | Damien George | 2016-05-13 |
| | |||
* | py/objstr: Make dedicated splitlines function, supporting diff newlines. | Damien George | 2016-05-13 |
| | | | | | | | | It now supports \n, \r and \r\n as newline separators. Adds 56 bytes to stmhal and 80 bytes to unix x86-64. Fixes issue #1689. | ||
* | stmhal: Convert to use internal errno symbols; enable uerrno module. | Damien George | 2016-05-10 |
| | |||
* | py/mpz: Do Python style division/modulo within bignum divmod routine. | Damien George | 2016-05-08 |
| | | | | | This patch consolidates the Python logic for division/modulo to one place within the bignum code. | ||
* | py/mpz: Fix bug with overflowing C-shift in division routine. | Damien George | 2016-05-08 |
| | | | | | | | When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation is needed because the MSB is already set, then there will be left and right shifts (in C) by 32 of a 32-bit variable, leading to undefined behaviour. This patch fixes this bug. | ||
* | stmhal/can: Allow to get existing CAN obj if constructed without args. | Henrik Sölver | 2016-05-08 |
| | | | | | | | Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001. | ||
* | tests: Disable memoryview tests that overflow int conversion. | Damien George | 2016-05-07 |
| | | | | They fail on builds with 32-bit word size. | ||
* | py/runtime: Properly handle passing user mappings to ** keyword args. | Damien George | 2016-05-07 |
| |