| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-04-02 | run-tests: Add feature check for "const" keyword and skip related tests. | Paul Sokolovsky | |
| 2017-04-02 | tests: vfs_fat_fileio.py is too big to be parsed in 16K heap, split in 2. | Paul Sokolovsky | |
| This restores ability to run testsuite with 16K heap. | |||
| 2017-04-02 | tests/run-tests: Be sure to close Pyboard object on completion. | Paul Sokolovsky | |
| So underlying device was properly closed too. | |||
| 2017-04-02 | tests/basics: Add tests for list and bytearray growing using themselves. | Damien George | |
| 2017-03-27 | tests/basics: Add test for super() when self is closed over. | Damien George | |
| 2017-03-24 | tests/float: Add tests for round() of inf, nan and large number. | Damien George | |
| 2017-03-23 | tests/float: Add tests for math funcs that return ints. | Damien George | |
| One should test bigint, inf and nan to make sure all cases are covered. | |||
| 2017-03-22 | tests/heapalloc_str: Test no-replacement case for str.replace(). | Paul Sokolovsky | |
| 2017-03-20 | extmod/modframebuf: Add support for monochrome horizontal format. | Peter Hinch | |
| MHLSB and MHMSB formats are added to the framebuf module, which have 8 adjacent horizontal pixels represented in a single byte. | |||
| 2017-03-20 | unix/coverage: Enable scheduler and add tests for it. | Damien George | |
| 2017-03-20 | tests/micropython: Add tests for micropython.schedule(). | Damien George | |
| 2017-03-16 | tests/basics/bytes_add: Add tests for optimised bytes addition. | Damien George | |
| 2017-03-15 | tests/basics: Move string-modulo-format int tests to dedicated file. | Damien George | |
| 2017-03-15 | tests/basics: Add test for string module formatting with int argument. | Damien George | |
| 2017-03-15 | tests/basics/string_format2: Adjust comment now that tests succeed. | Damien George | |
| 2017-03-14 | tests/micropython/viper_error: Add more tests to improve coverage. | Damien George | |
| 2017-03-14 | tests/extmod: Improve tinfgzip.c test coverage. | Rami Ali | |
| 2017-03-14 | tests/extmod/vfs_basic: Unmount all existing devices before doing test. | Damien George | |
| This is so the test can run successfully on targets that already have something mounted. | |||
| 2017-03-14 | tests/run-tests: Re-instate skipping of doubleprec test on pyboard. | Damien George | |
| 2017-03-14 | tests/basics/struct_micropython: Add test for 'S' typecode in ustruct. | Damien George | |
| The 'S' typecode is a uPy extension so it should be grouped with the other extension (namely 'O' typecode). Testing 'S' needs uctypes which is an extmod module and not always available, so this test is made optional and will only be run on ports that have (u)struct and uctypes. Otherwise it will be silently skipped. | |||
| 2017-03-14 | tests: Improve binary.c test coverage. | Rami Ali | |
| 2017-03-14 | tests/extmod: Improve re1.5/recursiveloop.c test coverage. | Rami Ali | |
| 2017-03-14 | tests/extmod/vfs_basic: Add more tests for basic VFS functionality. | Damien George | |
| 2017-03-13 | tests/extmod: Add a test for core VFS functionality, sans any filesystem. | Damien George | |
| 2017-03-11 | tests/misc/: Make few tests skippable. | Paul Sokolovsky | |
| 2017-03-10 | tests/extmod: Rename websocket test to websocket_basic. | Damien George | |
| This is so that the filename of the test doesn't clash with the module name itself (being "websocket"), and lead to potential problems executing the test. | |||
| 2017-03-10 | tests/basics/fun_error: Split out skippable test. | Paul Sokolovsky | |
| 2017-03-10 | tests/feature_check/int_big: Rework "big int" detection. | Paul Sokolovsky | |
| MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just parsing a large number won't give an error, we need to print it out to check that the whole number was parsed. | |||
| 2017-03-09 | tests/micropython/opt_level: Clarify the expected output for opt_level == 3. | Paul Sokolovsky | |
| 2017-03-09 | tests/micropython/heapalloc_traceback: Fix backtrace line # after refactor. | Paul Sokolovsky | |
| 2017-03-09 | tests/micropython: Make uio-using tests skippable. | Paul Sokolovsky | |
| 2017-03-09 | tests/dict_fromkeys: Split out skippable part. | Paul Sokolovsky | |
| 2017-03-09 | tests/extmod: Add websocket tests. | Alex March | |
| These short unit tests test the base uPy methods as well as parts of the websocket protocol, as implemented by uPy. @dpgeorge converted the original socket based tests by @hosaka to ones that only require io.BytesIO. | |||
| 2017-03-09 | tests/extmod: Add very basic feature test for ussl module. | Damien George | |
| This test just tests that the basic functions/methods can be called with the appropriate arguments. There is no real test of underlying functionality. Thanks to @hosaka for the initial implementation of this test. | |||
| 2017-03-09 | tests/float: Make various tests skippable. | Paul Sokolovsky | |
| 2017-03-09 | tests/basic: Make various tests skippable. | Paul Sokolovsky | |
| 2017-03-07 | tests/uctypes_array_assign_native_le: Split off intbig part. | Paul Sokolovsky | |
| 2017-03-07 | tests/micropython/: Split off intbig tests. | Paul Sokolovsky | |
| 2017-03-07 | tests/basics/unpack1.py: Test if *a, = b copies b when b is a list. | Krzysztof Blazewicz | |
| 2017-03-07 | tests/basics/string_join.py: Add test case where argument is not iterable. | Krzysztof Blazewicz | |
| 2017-03-07 | tests/string_format_modulo2: Split off intbig test. | Paul Sokolovsky | |
| 2017-03-06 | tests/float2int*: Suffix with _intbig, don't run on any other int type. | Paul Sokolovsky | |
| I.e. they don't run successfully with MICROPY_LONGINT_IMPL_NONE and MICROPY_LONGINT_IMPL_LONGLONG (the problem is that they generate different output than CPython, TODO to fix that). | |||
| 2017-03-06 | float/float2int*: Make actually be parsable for MICROPY_LONGINT_IMPL_NONE. | Paul Sokolovsky | |
| The use of large literal numbers is a big no-no when it comes to writing programs which work with different int representations. Also, some checks are pretty adhoc (e.g using struct module to check for 64-bitness). This change bases entire detection on sys.maxsize and integer operarions, and thus more correct, even if longer. Note that this change doesn't mean that any of these tests can pass with anything but MPZ - even despite checking for various int representations, the tests aren't written to be portable among them. | |||
| 2017-03-06 | tests/float/complex1: Split out intbig test. | Paul Sokolovsky | |
| 2017-03-04 | tests/basic: Split tests into working with small ints and not working. | Paul Sokolovsky | |
| Tests which don't work with small ints are suffixed with _intbig.py. Some of these may still work with long long ints and need to be reclassified later. | |||
| 2017-03-03 | tests/run-tests: Check for big int availability and skip related tests. | Paul Sokolovsky | |
| Big aka arbitrary-precision integers (implemented by MPZ module) are used in tests starting with "int_big_" or ending with "_intbig". | |||
| 2017-03-03 | tests/basics: Add further tests for OrderedDict. | Damien George | |
| 2017-03-02 | tests/extmod: Add test for machine.Signal class. | Damien George | |
| 2017-02-27 | py/objarray: Disallow slice-assignment to read-only memoryview. | Damien George | |
| Also comes with a test for this. Fixes issue #2904. | |||
| 2017-02-24 | py: Create str/bytes objects in the parser, not the compiler. | Damien George | |
| Previous to this patch any non-interned str/bytes objects would create a special parse node that held a copy of the str/bytes data. Then in the compiler this data would be turned into a str/bytes object. This actually lead to 2 copies of the data, one in the parse node and one in the object. The parse node's copy of the data would be freed at the end of the compile stage but nevertheless it meant that the peak memory usage of the parse/compile stage was higher than it needed to be (by an amount equal to the number of bytes in all the non-interned str/bytes objects). This patch changes the behaviour so that str/bytes objects are created directly in the parser and the object stored in a const-object parse node (which already exists for bignum, float and complex const objects). This reduces peak RAM usage of the parse/compile stage, simplifies the parser and compiler, and reduces code size by about 170 bytes on Thumb2 archs, and by about 300 bytes on Xtensa archs. | |||
