aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-04-11stmhal: Make LED object print LED(x) for consistency with constructor.Damien George
2015-04-07py: Implement full func arg passing for native emitter.Damien George
This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
2015-04-07py: Simplify bytecode prelude when encoding closed over variables.Damien George
2015-04-06py: Implement calling functions with *args in native emitter.Damien George
2015-04-05tests: Add some more tests to improve code coverage of corner cases.Damien George
2015-04-04tests: Add tests to exercise lexer; and some more complex number tests.Damien George
2015-04-04tests: Add missing tests for builtins, and many other things.Damien George
2015-04-04tests: Add test for str.splitlines().Paul Sokolovsky
2015-04-03tests: Add specific test for closures in native emitter.Damien George
2015-04-03py: Implement closures in native code generator.Damien George
Currently supports only x64 and Thumb2 archs.
2015-03-28tests/class_descriptor.py: Fix line-endings (were CRLF).Paul Sokolovsky
2015-03-26py: Add optional support for descriptors' __get__ and __set__ methods.stijn
Disabled by default. Enabled on unix and windows ports.
2015-03-25tests: Skip some new tests when testing native emitter.Damien George
2015-03-25tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George
This is intended to improve coverage of the test suite.
2015-03-20tests: Make pyb/timer test check callback timing properly.Damien George
2015-03-20py: Allow retrieving a function's __name__.stijn
Disabled by default. Enabled on unix and stmhal ports.
2015-03-20tests: Adjust expected output, since Travis can't do git describe.Damien George
2015-03-20tests: Add basic test for OrderedDict.Paul Sokolovsky
Mostly to have coverage of newly added code in map.c.
2015-03-20tests: Make cmdline tests more stable by using regex for matching.Damien George
2015-03-14tests: Add some more tests for complex numbers and ure module.Damien George
2015-03-14py: Fix builtin abs so it works for bools and bignum.Damien George
2015-03-14tests: Add some more tests for bytes, bignum, string and ujson.Damien George
2015-03-14tests: Don't try to verify amount of memory used in cmd_showbc test.Damien George
2015-03-14tests: Add cmdline test to test showbc code.Damien George
2015-03-13stmhal: Fix adc.read_timed so buffer store respects element size.Damien George
Addresses issue #1154.
2015-03-13tests: Add ability to test uPy cmdline executable.Damien George
This allows to test options passed to cmdline executable, as well as the behaviour of the REPL.
2015-03-12tests: Add tests for things that are not already tested.Damien George
The aim here is to improve coverage of the code.
2015-03-12tests: Add zlib test for decompressing uncompressed data.Damien George
2015-03-11py: Add support for start/stop/step attributes of builtin range object.Peter D. Gray
2015-03-10tests: Add test for modure when regex has errors.Damien George
2015-03-04extmod/ure: Correctly return None when a group has no match.Damien George
See issue #1122.
2015-03-03tests: Skip basics/boundmeth1.py for native emitter.Damien George
2015-03-03tests: Add tests for boundmeth; and bignum cmp, unary, float, error.Damien George
2015-03-03tests: Skip special math fun tests when math module exists but not funs.stijn
2015-03-02tests: Add basics test for gc module.Damien George
2015-03-02tests: Use range as iterable instead of list comprehension.Damien George
So that navite emitter passes (comprehensions use yield which is not yet supported by native emitter).
2015-03-02tests: Add tests for builtins: all, any, sum, abs.Damien George
2015-03-02tests: Add tests for inline assembler beq_n and beq_w ops.Damien George
2015-03-02tests: Add tests for op special meths, ubinascii, complex.Damien George
2015-03-01tests: Add test for micropython const feature when it has a SyntaxError.Damien George
2015-02-27tests: Add test for array slice assignment.Paul Sokolovsky
2015-02-27tests: Update pyb/uart.py test since baudrate of 1200 is too low.Damien George
2015-02-27py: Fix adding of traceback so that it appends to existing info.Damien George
This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126.
2015-02-23tests: Add more tests for pyb.Timer class.Damien George
2015-02-22tests: Add test for math special functions.Damien George
2015-02-21tests: Add tests for ure groups and named char classes.Damien George
Issue #1122 should now be fixed.
2015-02-21run-tests-exp.sh: Typo fix in comment.Paul Sokolovsky
2015-02-16py: Implement bl/bx instructions for inline Thumb assembler.Damien George
2015-02-16tests: Add another testcase for relative imports.Paul Sokolovsky
2015-02-15stmhal: Add support for CAN rx callbacks.Henrik Sölver