Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-25 | tests/basics: Add tests for int.from_bytes when src has trailing zeros. | Damien George | |
The trailing zeros should be truncated from the converted value. | |||
2017-04-22 | tests: Add tests for calling super and loading a method directly. | Damien George | |
2017-04-22 | py/compile: Refactor handling of special super() call. | Damien George | |
This patch refactors the handling of the special super() call within the compiler. It removes the need for a global (to the compiler) state variable which keeps track of whether the subject of an expression is super. The handling of super() is now done entirely within one function, which makes the compiler a bit cleaner and allows to easily add more optimisations to super calls. Changes to the code size are: bare-arm: +12 minimal: +0 unix x64: +48 unix nanbox: -16 stmhal: +4 cc3200: +0 esp8266: -56 | |||
2017-04-21 | extmod/moductypes: Fix bigint handling for 32-bit ports. | Paul Sokolovsky | |
2017-04-18 | tests/micropython: Add test for micropython.kbd_intr(). | Damien George | |
2017-04-16 | tests/run-tests: Don't post-process CRASH result in any way. | Paul Sokolovsky | |
If we got a CRASH result, return early, similar to SKIP. This is important because previous refactor changed branching logic a bit, so CRASH now gets post-processed into CRASH\n, which broke remote hardware tests. | |||
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. | |||
2017-04-14 | tests/run-tests: Search feature checks wrt to main script location. | Paul Sokolovsky | |
If run-tests script is run from another dir, we still want to look up feature checks in run-tests' dir. | |||
2017-04-13 | tests/extmod/utimeq1: Improve coverage of utimeq module. | Damien George | |
2017-04-05 | tests/basics: Add test for tuple inplace add. | Damien George | |
2017-04-05 | tests/basics: Add tests for raising ValueError when range() gets 0 step. | Damien George | |
2017-04-04 | extmod/modframebuf: Make monochrome bitmap formats start with MONO_. | Peter Hinch | |
MONO_xxx is much easier to read if you're not familiar with the code. MVLSB is deprecated but kept for backwards compatibility, for the time being. This patch also updates the associated docs and tests. | |||
2017-04-04 | tests/run-tests: Update names of tests that may need skipping. | Damien George | |
2017-04-04 | tests/float: Add tests for hashing float and complex numbers. | Damien George | |
2017-04-03 | tests/run-tests: Introduce generic "minimal" target. | Paul Sokolovsky | |
Used e.g. by Zephyr port. | |||
2017-04-03 | tests/micropython/heapalloc_iter: Improve skippability. | Paul Sokolovsky | |
2017-04-03 | tests/float/byte*_construct: Skip on missing array module. | Paul Sokolovsky | |
2017-04-03 | tests/extmod/vfs_fat_fileio*: Improve skippability. | Paul Sokolovsky | |
Should be skipped on missing uso, uerrno modules. | |||
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 | |