summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-12-01extmod/modframebuf: Add back legacy FrameBuffer1 "class".Damien George
For backwards compatibility. It simple creates a frame buffer with the MVLSB format.
2016-12-01extmod/modframebuf: Make FrameBuffer handle 16bit depth.Radomir Dopieralski
Rename FrameBuffer1 into FrameBuffer and make it handle different bit depths via a method table that has getpixel and setpixel. Currently supported formats are MVLSB (monochrome, vertical, LSB) and RGB565. Also add blit() and fill_rect() methods.
2016-11-26tests/basics: Enable tests for list slice getting with 3rd arg.Damien George
Also add a test to check case when 3rd arg is 0.
2016-11-26tests/basics: Change dict_fromkeys test so it doesn't use generators.Damien George
And then it can run with the native emitter.
2016-11-26tests/basics: Add tests for if-expressions.Damien George
2016-11-26tests/basics: Add test for dict.fromkeys where arg is a generator.Damien George
Improves coverage because it tests the case where the arg does not have a __len__ slot.
2016-11-22tests/basics: Improve user class coverage.Rami Ali
2016-11-22tests/extmod: Improve ujson coverage.Rami Ali
2016-11-21tests/micropython: Move alloc-less traceback test to separate test file.Damien George
The native emitter doesn't provide proper traceback info so this test should not be run in that case.
2016-11-21tests/micropython: Add test for creating traceback without allocation.Damien George
2016-11-15tests/basics: Add test for logical constant folding.Damien George
2016-11-14tests: Use read() instead of readall().Paul Sokolovsky
2016-11-12extmod/moduheapq: Adhoc changes to support ordering by utime.ticks_ms().Paul Sokolovsky
As required for further elaboration of uasyncio, like supporting baremetal systems with wraparound timesources. This is not intended to be public interface, and likely will be further refactored in the future.
2016-11-11stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers.Damien George
New keyword option in constructor and init() method is "dma=<bool>". DMA is now disabled by default for I2C transfers because it currently does not handle I2C bus errors very well (eg if slave device doesn't ACK or NACK correctly during a transfer).
2016-11-10tests/micropython: Add test for import from within viper function.Damien George
2016-11-06tests/vfs_fat_oldproto: Skip for ports not supporting "oldproto".Paul Sokolovsky
Otherwise this broke esp8266 testsuite.
2016-11-03tests/extmod/framebuf1: Test framebuffer pixel clear, and text function.Alex March
2016-10-30tests/extmod/ticks_diff: Test for new semantics of ticks_diff().Paul Sokolovsky
2016-10-30py/sequence: Fix reverse slicing of lists.Fabio Utzig
2016-10-29tests/btree1: Fix out of memory error running on esp8266.Paul Sokolovsky
2016-10-28tests/extmod/uhashlib_sha256: Rename sha256.py test.Alex March
2016-10-28tests/extmod/uhashlib_sha1: Coverage for SHA1 algorithm.Alex March
2016-10-27tests/basics/gc1: Garbage collector threshold() coverage.Alex March
2016-10-27tests/extmod/vfs_fat_oldproto: Test old block device protocol.Alex March
2016-10-27tests/extmod/vfs_fat_fsusermount: Improve fsusermount test coverage.Alex March
2016-10-24tests/basics: Add test for builtin "delattr".Damien George
2016-10-24tests/basics/builtin_slice: Add test for "slice" builtin name.Damien George
2016-10-24extmod/vfs_fat_file: Make file.close() a no-op if file already closed.Damien George
As per CPython semantics. In particular, file.__del__() should not raise an exception if the file is already closed.
2016-10-24tests/extmod/vfs_fat: Improve VFS test coverage.Alex March
Covered case: - Stat cases - Invalid read/write/flush/close - Invalid mkdir/rmdir/remove/getcwd - File seek/tell, modes a/x/+, t/b - Writing to a full disk - Full path rename, slash trim - Rename cases - Bytestring listdir - File object printing
2016-10-17tests/run-tests: Enable extmod/machine1.py on pyboard.Damien George
It now works.
2016-10-17tests: Add test to print full KeyError exc from failed dict lookup.Damien George
2016-10-17tests: Improve coverage of array, range, dict, slice, exc, unicode.Damien George
2016-10-17tests/cmdline: Improve coverage test for printing bytecode.Damien George
2016-10-14tests/micropython: Add tests for heap_lock, and emergency exceptions.Damien George
2016-10-13tests/extmod/vfs_fat: Replace asserts with prints and expected outputs.Alex March
2016-10-13tests/extmod: Add test for ujson.load().Damien George
2016-10-11tests/extmod/vfs_fat: Test coverage for remove() and rmdir().Alex March
2016-10-11tests: Improve test coverage of py/compile.c.Damien George
2016-10-11tests/micropython: Add test for micropython.opt_level() function.Damien George
2016-10-09tests/io/bytesio_ext: Add test for readinto().Paul Sokolovsky
2016-10-09tests/io/write_ext: Add description comment.Paul Sokolovsky
2016-10-07tests: Improve coverage of struct with test for non-compliant behaviour.Damien George
2016-10-07tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.Alex March
2016-10-05tests: Fix expected output of verbose cmdline teststijn
The output might contain more than one line ending in 5b so properly skip everything until the next known point. This fixes test failures in appveyor debug builds.
2016-10-05tests/extmod/btree1: Checks for put, seq, string print and unsupported ↵Alex March
binary op.
2016-10-04tests/run-tests: Disable cmdline/cmd_showbc test on Windows.Damien George
Disabled until a proper fix is found.
2016-09-30tests/basics: Add test for printing OSError when errno is unknown.Damien George
2016-09-30tests/basics: Add test constructing a set from a non-trivial expression.Damien George
2016-09-30tests/import: Add test for compiling "import a.b as c".Damien George
2016-09-30tests/basics: Add further tests for nonlocal scoping and closures.Damien George