summaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAge
* tests/extmod/ticks_diff: Test for new semantics of ticks_diff().Paul Sokolovsky2016-10-30
|
* py/sequence: Fix reverse slicing of lists.Fabio Utzig2016-10-30
|
* tests/btree1: Fix out of memory error running on esp8266.Paul Sokolovsky2016-10-29
|
* tests/extmod/uhashlib_sha256: Rename sha256.py test.Alex March2016-10-28
|
* tests/extmod/uhashlib_sha1: Coverage for SHA1 algorithm.Alex March2016-10-28
|
* tests/basics/gc1: Garbage collector threshold() coverage.Alex March2016-10-27
|
* tests/extmod/vfs_fat_oldproto: Test old block device protocol.Alex March2016-10-27
|
* tests/extmod/vfs_fat_fsusermount: Improve fsusermount test coverage.Alex March2016-10-27
|
* tests/basics: Add test for builtin "delattr".Damien George2016-10-24
|
* tests/basics/builtin_slice: Add test for "slice" builtin name.Damien George2016-10-24
|
* extmod/vfs_fat_file: Make file.close() a no-op if file already closed.Damien George2016-10-24
| | | | | As per CPython semantics. In particular, file.__del__() should not raise an exception if the file is already closed.
* tests/extmod/vfs_fat: Improve VFS test coverage.Alex March2016-10-24
| | | | | | | | | | | | | 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
* tests/run-tests: Enable extmod/machine1.py on pyboard.Damien George2016-10-17
| | | | It now works.
* tests: Add test to print full KeyError exc from failed dict lookup.Damien George2016-10-17
|
* tests: Improve coverage of array, range, dict, slice, exc, unicode.Damien George2016-10-17
|
* tests/cmdline: Improve coverage test for printing bytecode.Damien George2016-10-17
|
* tests/micropython: Add tests for heap_lock, and emergency exceptions.Damien George2016-10-14
|
* tests/extmod/vfs_fat: Replace asserts with prints and expected outputs.Alex March2016-10-13
|
* tests/extmod: Add test for ujson.load().Damien George2016-10-13
|
* tests/extmod/vfs_fat: Test coverage for remove() and rmdir().Alex March2016-10-11
|
* tests: Improve test coverage of py/compile.c.Damien George2016-10-11
|
* tests/micropython: Add test for micropython.opt_level() function.Damien George2016-10-11
|
* tests/io/bytesio_ext: Add test for readinto().Paul Sokolovsky2016-10-09
|
* tests/io/write_ext: Add description comment.Paul Sokolovsky2016-10-09
|
* tests: Improve coverage of struct with test for non-compliant behaviour.Damien George2016-10-07
|
* tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.Alex March2016-10-07
|
* tests: Fix expected output of verbose cmdline teststijn2016-10-05
| | | | | | 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.
* tests/extmod/btree1: Checks for put, seq, string print and unsupported ↵Alex March2016-10-05
| | | | binary op.
* tests/run-tests: Disable cmdline/cmd_showbc test on Windows.Damien George2016-10-04
| | | | Disabled until a proper fix is found.
* tests/basics: Add test for printing OSError when errno is unknown.Damien George2016-09-30
|
* tests/basics: Add test constructing a set from a non-trivial expression.Damien George2016-09-30
|
* tests/import: Add test for compiling "import a.b as c".Damien George2016-09-30
|
* tests/basics: Add further tests for nonlocal scoping and closures.Damien George2016-09-30
|
* py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George2016-09-28
| | | | | There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
* tests/basics: Add test for set.difference_update with arg being itself.Damien George2016-09-28
|
* py/objset: Ensure that use of frozenset.update raises an exception.Damien George2016-09-28
|
* tests/float: Add test for parsing a float from an empty string.Damien George2016-09-27
|
* tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().Alex March2016-09-27
|
* py/modmicropython: Add micropython.const, alias for identity function.Damien George2016-09-27
| | | | | | | | | Having a micropython.const identity function, and writing "from micropython import const" at the start of scripts that use the const feature, allows to write scripts which are compatible with CPython, and with uPy builds that don't include const optimisation. This patch adds such a function and updates the tests to do the import.
* tests/cmdline/cmd_showbc: Fix test now that 1 value is stored on stack.Damien George2016-09-27
| | | | | This corresponds to the change in the way exception values are stored on the Python value stack.
* tests/micropython: Add tests for const names being replaced in parser.Damien George2016-09-27
|
* tests/basics: Add test case for overflowing Py stack in try-finally.Damien George2016-09-27
|
* tests/uzlib_decompio_gz: Test for DecompIO with gzip bitstream.Paul Sokolovsky2016-09-24
|
* tests/run-tests: Add --via-mpy option to run test from precompiled code.Damien George2016-09-20
| | | | | With mpy-cross built, tests can now be run by first compiling them to .mpy files, and then executing the .mpy file. Usage: ./run-tests --via-mpy
* tests: Get cmdline verbose tests running again.Damien George2016-09-20
| | | | | The showbc function now no longer uses the system printf so works correctly.
* tests/array1: Add tests for "l", "L" array types to improve coverage.Paul Sokolovsky2016-09-19
|
* tests/struct1: Test "l" specifier to improve coverage.Paul Sokolovsky2016-09-19
|
* tests/extmod: Add test for machine.time_pulse_us().Damien George2016-09-16
|
* tests/basics: Add errno1 test, to check basics of uerrno module.Damien George2016-09-16
|
* tests/extmod/urandom: Add urandom tests for error cases.Damien George2016-09-16
|