Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | tests/micropython: Add test for iterating with the heap locked. | Damien George | 2017-02-16 | |
| | ||||
* | tests/cmdline/cmd_showbc: Update to work with recent changes. | Damien George | 2017-02-16 | |
| | ||||
* | tests/cmdline: Update tests to pass with latest changes to bytecode. | Damien George | 2017-02-16 | |
| | ||||
* | py: Allow bytecode/native to put iter_buf on stack for simple for loops. | Damien George | 2017-02-16 | |
| | | | | | So that the "for x in it: ..." statement can now work without using the heap (so long as the iterator argument fits in an iter_buf structure). | |||
* | tests/basic/: Make various tests skippable. | Paul Sokolovsky | 2017-02-15 | |
| | | | | To run the testsuite on small ports. | |||
* | tests/gen_yield_from_close: Use range() instead of reversed(). | Paul Sokolovsky | 2017-02-15 | |
| | | | | As a "more basic" builtin iterator, present even in smaller ports. | |||
* | tests/thread: Add stress-test for creating many threads. | Damien George | 2017-02-15 | |
| | ||||
* | tests/thread: Replace busy waiting loops with a loop that sleeps. | Damien George | 2017-02-15 | |
| | | | | | | Depending on the thread scheduler, a busy-wait loop can hog the CPU and make the tests very slow. So convert such loops to loops that have an explicit sleep, allowing the worker threads to do their job. | |||
* | tests/extmod: Make tests skippable. | Paul Sokolovsky | 2017-02-15 | |
| | ||||
* | tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode. | Paul Sokolovsky | 2017-02-15 | |
| | ||||
* | tests/basic/[a-f]*: Make skippable. | Paul Sokolovsky | 2017-02-15 | |
| | | | | For small ports which don't have all features enabled. | |||
* | tests/builtin_dir: The most expected thing in sys is exit, test for it. | Paul Sokolovsky | 2017-02-14 | |
| | ||||
* | tests/comprehension1, containment: Split set tests to separate files. | Paul Sokolovsky | 2017-02-14 | |
| | | | | To make skippable. | |||
* | tests/run-tests: Allow to skip tests using async/await keywords. | Paul Sokolovsky | 2017-02-14 | |
| | ||||
* | tests: Add option to not clear MICROPYPATH when running tests | stijn | 2017-02-14 | |
| | | | | | | | | | This allows using the test runner for other scenarios than just testing uPy itself. The principle of comparing either to CPython or else to a .exp file is really handy but to be able to test custom modules not built into micropython.exe one needs to be able to specify the module search path a.k.a MICROPYPATH. | |||
* | tests/misc: Add test for line number printing with large bytecode chunk. | Damien George | 2017-02-10 | |
| | ||||
* | py/objtype: Implement __delattr__ and __setattr__. | dmazzella | 2017-02-09 | |
| | | | | | | This patch implements support for class methods __delattr__ and __setattr__ for customising attribute access. It is controlled by the config option MICROPY_PY_DELATTR_SETATTR and is disabled by default. | |||
* | tests/pyb: Adjust tests so they can run on PYB and PYBLITE. | Damien George | 2017-02-06 | |
| | | | | | | A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other). | |||
* | stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour. | Damien George | 2017-02-06 | |
| | | | | | | | | | This new function controls what happens on a hard-fault: - debugging disabled: board will do a reset - debugging enabled: board will print registers and stack and flash LEDs The default is disabled, ie to do a reset. This is different to previous behaviour which flashed the LEDs and waited indefinitely. | |||
* | extmod/machine_pulse: Make time_pulse_us() not throw exceptions. | Paul Sokolovsky | 2017-02-05 | |
| | | | | | | | | | | | | machine.time_pulse_us() is intended to provide very fine timing, including while working with signal bursts, where each transition is tracked in row. Throwing and handling an exception may take too much time and "signal loss". So instead, in case of a timeout, just return negative value. Cases of timeout while waiting for initial signal stabilization, and during actual timing, are recognized. The documentation is updated accordingly, and rewritten somewhat to clarify the function behavior. | |||
* | tests/basics/string_format_modulo: Add more tests for dict formatting. | Damien George | 2017-02-03 | |
| | ||||
* | tests: Split tests for 2- and 3-arg pow(). | Paul Sokolovsky | 2017-02-02 | |
| | ||||
* | py: Added optimised support for 3-argument calls to builtin.pow() | Nicko van Someren | 2017-02-02 | |
| | | | | | | Updated modbuiltin.c to add conditional support for 3-arg calls to pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in objint_mpz.c for for optimised implementation. | |||
* | tests/float: Add tests for zero to a negative power. | Damien George | 2017-02-03 | |
| | ||||
* | tests/basics/set_binop: Add tests for inplace set operations. | Damien George | 2017-02-02 | |
| | ||||
* | tests/heapalloc_bytesio: Test for BytesIO with preallocates space. | Paul Sokolovsky | 2017-02-02 | |
| | ||||
* | tests/thread: Fix stack size test so tests run reliably on baremetal. | Damien George | 2017-02-01 | |
| | ||||
* | tests/thread: Make thread_exc2 runable on baremetal. | Damien George | 2017-01-31 | |
| | ||||
* | tests/basics/zip: Make skippable. | Paul Sokolovsky | 2017-01-31 | |
| | ||||
* | tests/run-tests: Skip frozenset tests if set literal syntax is not available. | Paul Sokolovsky | 2017-01-31 | |
| | ||||
* | tests/extmod/vfs_fat_ramdisk: Make it work on pyboard. | Damien George | 2017-01-27 | |
| | ||||
* | tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. | Damien George | 2017-01-27 | |
| | | | | The vfs_fat_fsusermount test is no longer relevant so has been removed. | |||
* | test/extmod: Update vfs_fat tests for new OO FatFs library. | Damien George | 2017-01-27 | |
| | | | | | The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs. | |||
* | tests/heapalloc_str: Test for alloc-free string operations. | Paul Sokolovsky | 2017-01-27 | |
| | | | | Starts with concatenation with an empty string. | |||
* | tests/extmod: Add test for ure debug printing when compiling a regex. | Damien George | 2017-01-26 | |
| | ||||
* | tests/extmod/framebuf1: Fix test for framebuf invalid constructor. | Damien George | 2017-01-25 | |
| | ||||
* | tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. | Oleg Korsak | 2017-01-25 | |
| | ||||
* | extmod/modframebuf: Add GS4_HMSB format. | Oleg Korsak | 2017-01-25 | |
| | ||||
* | tests: Make sure special tests can be skipped as well. | stijn | 2017-01-24 | |
| | | | | Fixes #2806. | |||
* | tests/basics/builtin_help: Add test for help('modules'). | Damien George | 2017-01-22 | |
| | ||||
* | tests: Add test for builtin help function. | Damien George | 2017-01-22 | |
| | ||||
* | tests/heapalloc_int_from_bytes: Test that int.from_bytes() can work w/o alloc. | Paul Sokolovsky | 2017-01-21 | |
| | | | | | For a small number of bytes, it's expected to return a small int without allocation. | |||
* | tests: Add test for int.from_bytes() for arbitrary-precision integer. | Paul Sokolovsky | 2017-01-21 | |
| | | | | | This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases. | |||
* | tests/basics: Add test for assignment of attribute to bound method. | Damien George | 2017-01-20 | |
| | ||||
* | tests/misc/non_compliant: Add test for inability to assign func attrs. | Damien George | 2017-01-19 | |
| | ||||
* | tests/micropython/opt_level: Add test for opt_level 3. | Damien George | 2017-01-19 | |
| | ||||
* | tests/extmod/framebuf1: Add test for no-op fill_rect. | Damien George | 2017-01-19 | |
| | ||||
* | tests/float: Add test for assigning to attribute of complex number. | Damien George | 2017-01-19 | |
| | ||||
* | py/binary: mp_binary_get_size: Raise error on unsupported typecodes. | Paul Sokolovsky | 2017-01-17 | |
| | | | | | Previouly, we had errors checked in callers, which led to duplicate code or missing checks in some places. | |||
* | tests/extmod: Improve test coverage of ure module. | Rami Ali | 2017-01-17 | |
| |