| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-10 | tests/extmod/uctypes_error: Add test for unsupported unary op. | Damien George | |
| 2018-12-10 | tests/extmod/uctypes_ptr_le: Test int() operation on a pointer field. | Paul Sokolovsky | |
| 2018-10-30 | tests/extmod: Skip uselect test when CPython doesn't have poll(). | stijn | |
| CPython does not have an implementation of select.poll() on some operating systems (Windows, OSX depending on version) so skip the test in those cases instead of failing it. | |||
| 2018-10-23 | tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. | Paul Sokolovsky | |
| On almost all realistic platforms, native layout should be larger (or equal) than packed layout. | |||
| 2018-10-13 | tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor | Paul Sokolovsky | |
| Just a copy of uctypes_sizeof.py with minimal changes. | |||
| 2018-10-05 | tests/uselect_poll_basic: Add basic test for uselect.poll invariants. | Paul Sokolovsky | |
| This test doesn't check the actual I/O behavior, just "static" invariants like behavior on duplicate calls or calls when I/O object is not registered with poller. | |||
| 2018-09-11 | tests/extmod/uhashlib_md5: Add coverage tests for MD5 algorithm. | Paul Sokolovsky | |
| Based on tests/extmod/uhashlib_sha1. | |||
| 2018-08-04 | tests: Make tests work on targets without float support. | Ayke van Laethem | |
| 2018-07-30 | tests/extmod/ujson_dump_iobase.py: Return number of bytes written. | Damien George | |
| Otherwise returning None indicates that the write would block and nothing was actually written. Fixes issue #3990. | |||
| 2018-07-20 | tests: Improve feature detection for VFS. | Ayke van Laethem | |
| 2018-07-02 | extmod/modure: Add ure.sub() function and method, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_SUB, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-07-02 | extmod/modure: Add match.span(), start() and end() methods, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_MATCH_SPAN_START_END, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-07-02 | extmod/modure: Add match.groups() method, and tests. | Damien George | |
| This feature is controlled at compile time by MICROPY_PY_URE_MATCH_GROUPS, disabled by default. Thanks to @dmazzella for the original patch for this feature; see #3770. | |||
| 2018-06-27 | tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. | Paul Sokolovsky | |
| Tests for separate input and output buffer (alloc-free operation) and the same writable buffer used as input and output (inplace operation). | |||
| 2018-06-27 | tests/extmod/ucryptolib*: Add tests for ucryptolib module. | Paul Sokolovsky | |
| 2018-06-18 | tests/extmod: Add test for ujson.dump writing to a user IOBase object. | Damien George | |
| 2018-06-18 | tests/extmod/ujson_dump.py: Add test for dump to non-stream object. | Damien George | |
| 2018-06-12 | tests/extmod: Add test for VFS and user-defined filesystem and files. | Damien George | |
| 2018-06-06 | tests/extmod: Remove conditional import of uos_vfs, it no longer exists. | Damien George | |
| This conditional import was only used to get the tests working on the unix coverage build, which has now switched to use VFS by default so the uos module alone has the required functionality. | |||
| 2018-06-06 | tests/extmod: Add test for importing a script from a user VFS. | Damien George | |
| 2018-03-12 | extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. | Tom Collins | |
| 2018-03-04 | tests/extmod/time_ms_us: Fix ticks tests, ticks_diff args are reversed. | Damien George | |
| 2018-03-04 | tests/extmod/time_ms_us: Add test for calling ticks_cpu(). | Damien George | |
| This is just to test that the function exists and returns some kind of valid value. Although this file is for testing ms/us functions, put the ticks_cpu() test here so not to add a new test file. | |||
| 2018-02-28 | tests/extmod/vfs_fat_fileio1: Add test for calling file obj finaliser. | Damien George | |
| 2018-02-26 | tests/extmod/uzlib_decompress: Add uzlib tests to improve coverage. | Damien George | |
| 2018-02-26 | tests/extmod/vfs_fat_fileio1: Add test for failing alloc with finaliser. | Damien George | |
| 2018-02-15 | extmod/modujson: Implement ujson.dump() function. | Damien George | |
| 2018-01-31 | extmod/vfs_fat_file: Implement SEEK_CUR for non-zero offset. | Ayke van Laethem | |
| CPython doesn't allow SEEK_CUR with non-zero offset for files in text mode, and uPy inherited this behaviour for both text and binary files. It makes sense to provide full support for SEEK_CUR of binary-mode files in uPy, and to do this in a minimal way means also allowing to use SEEK_CUR with non-zero offsets on text-mode files. That seems to be a fair compromise. | |||
| 2017-12-19 | tests/extmod: Add some uctypes tests to improve coverage of that module. | Damien George | |
| 2017-12-19 | tests/extmod/uhashlib_sha256: Add test for hashing 56 bytes of data. | Damien George | |
| 2017-12-14 | extmod/modframebuf: Add 8-bit greyscale format (GS8). | Damien George | |
| 2017-12-14 | extmod/modframebuf: Add 2-bit color format (GS2_HMSB). | Petr Viktorin | |
| This format is used in 2-color LED matrices and in e-ink displays like SSD1606. | |||
| 2017-12-12 | tests/extmod: Add test which subclasses framebuf.FrameBuffer. | Damien George | |
| 2017-10-05 | tests/extmod: Add test for '-' in character class in regex. | Damien George | |
| 2017-10-03 | tests/extmod: Add test for ure regexes leading to infinite recursion. | Paul Sokolovsky | |
| These now should be caught properly and lead to RuntimeError instead of crash. | |||
| 2017-08-17 | extmod/modubinascii: Rewrite mod_binascii_a2b_base64. | Alex Robbins | |
| This implementation ignores invalid characters in the input. This allows it to decode the output of b2a_base64, and also mimics the behavior of CPython. | |||
| 2017-07-20 | extmod/modussl_axtls: Allow to close ssl stream multiple times. | Paul Sokolovsky | |
| Make sure that 2nd close has no effect and operations on closed streams are handled properly. | |||
| 2017-07-03 | extmod/modubinascii: Add check for empty buffer passed to hexlify. | Damien George | |
| Previous to this patch hexlify(b'', b':') would lead to a bad crash due to the computed length of the result being -1=0xffffffff. | |||
| 2017-07-01 | extmod/modure: If input string is bytes, return bytes results too. | Paul Sokolovsky | |
| This applies to match.group() and split(). For ARM Thumb2, this increased code size by 12 bytes. | |||
| 2017-06-11 | tests/extmod/vfs_basic: Allow test to pass on embedded targets. | Damien George | |
| 2017-06-10 | tests: Convert remaining "sys.exit()" to "raise SystemExit". | Paul Sokolovsky | |
| 2017-06-07 | extmod/vfs: Allow to statvfs the root directory. | Damien George | |
| 2017-05-13 | tests/extmod/vfs_fat_more: Make skippable is uos is not available. | Paul Sokolovsky | |
| Fixes Zephyr tests. | |||
| 2017-05-13 | tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory. | Damien George | |
| 2017-05-10 | tests/extmod/vfs: Update tests to reflect new ilistdir() method. | Damien George | |
| 2017-05-09 | tests/extmod: Make some vfs tests fully unmount FSs before running. | Damien George | |
| Otherwise the existing FSs can interfere with the tests, and in some cases the tests can write to the real FS on the device. | |||
| 2017-05-05 | tests/extmod: Add some more VFS tests. | Damien George | |
| 2017-05-05 | tests/extmod: Add more tests for VFS FAT. | Damien George | |
| 2017-04-21 | extmod/moductypes: Fix bigint handling for 32-bit ports. | Paul Sokolovsky | |
| 2017-04-15 | extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter. | Damien George | |
| A shorter name takes less code size, less room in scripts and is faster to type at the REPL. Tests and HW-API examples are updated to reflect the change. | |||
