summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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
2016-09-28py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George
There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
2016-09-28tests/basics: Add test for set.difference_update with arg being itself.Damien George
2016-09-28py/objset: Ensure that use of frozenset.update raises an exception.Damien George
2016-09-27tests/float: Add test for parsing a float from an empty string.Damien George
2016-09-27tests/extmod/vfs_fat_ramdisk: Add test for VFS.statvfs().Alex March
2016-09-27py/modmicropython: Add micropython.const, alias for identity function.Damien George
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.
2016-09-27tests/cmdline/cmd_showbc: Fix test now that 1 value is stored on stack.Damien George
This corresponds to the change in the way exception values are stored on the Python value stack.
2016-09-27tests/micropython: Add tests for const names being replaced in parser.Damien George
2016-09-27tests/basics: Add test case for overflowing Py stack in try-finally.Damien George
2016-09-24tests/uzlib_decompio_gz: Test for DecompIO with gzip bitstream.Paul Sokolovsky
2016-09-20tests/run-tests: Add --via-mpy option to run test from precompiled code.Damien George
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
2016-09-20tests: Get cmdline verbose tests running again.Damien George
The showbc function now no longer uses the system printf so works correctly.
2016-09-19tests/array1: Add tests for "l", "L" array types to improve coverage.Paul Sokolovsky
2016-09-19tests/struct1: Test "l" specifier to improve coverage.Paul Sokolovsky
2016-09-16tests/extmod: Add test for machine.time_pulse_us().Damien George
2016-09-16tests/basics: Add errno1 test, to check basics of uerrno module.Damien George
2016-09-16tests/extmod/urandom: Add urandom tests for error cases.Damien George
2016-09-09tests/pyb: Update exp file for previously updated extint test.Damien George
2016-09-09tests/pyb: Add test for ExtInt when doing swint while disabled.Damien George
2016-09-08tests/run-tests: Disable thread/stress_recurse.py test on Travis.Damien George
It has reliability issues (cause unknown at this time).
2016-09-05tests/extmod/framebuf1: Add tests for scrolling in the x-direction.Damien George
2016-09-04tests/extmod/uzlib_decompio: Add zlib bitstream testcases.Paul Sokolovsky
2016-09-04tests/extmod: Add a test for framebuf module, tested by coverage build.Damien George
2016-09-03tests/extmod: Add test for uzlib.DecompIO.Paul Sokolovsky
2016-09-02tests/unix/extra_coverage: Add test for str/bytes with invalid hash.Damien George
2016-09-01py/mpprint: Fail an assertion with unsupported format specifiers.Delio Brignoli
Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats.
2016-08-27tests/run-tests: Disable thread_gc1.py test on Travis.Damien George
It has reliability issues (cause unknown at this time).
2016-08-26tests/extmod/vfs_fat_ramdisk: Add tests for VFS.umount()Radomir Dopieralski
Try to un-mount a file system and re-mount it again.
2016-08-26tests/cmdline: Add test for -O option to check optimisation value.Damien George
2016-08-25tests/run-tests: Disable thread/stress_heap.py when running on Travis.Damien George
It has reliability issues and sometimes fails on Travis (reason currently unknown).
2016-08-24extmod/modubinascii: Make crc32() support configurable.Paul Sokolovsky
Disable by default, enable in unix port.
2016-08-24extmod/modubinascii: implement binascii.crc32Pavol Rusnak
2016-08-17tests/run-tests: Disable thread/thread_lock4.py on Travis.Damien George
It has reliability issues that need to be worked out.
2016-08-17tests/uzlib_decompress: Actually test raw DEFLATE stream.Paul Sokolovsky
2016-08-17tests/basics/special_methods: Enable tests for extra special methods.Damien George
These additional special methods are enabled on most ports so we can test them in this test.
2016-08-17tests/basics: Add a test file for overriding special methods.rguillon
2016-08-15py/sequence: Allow to use bignums as indices in slice objects.Damien George
See issue #2264.
2016-08-15tests/basics: Add test for break from within try within a for-loop.Damien George
2016-08-15tests/misc/non_compliant: Add tests to improve coverage testing.Damien George
2016-08-15tests/basics: Add more list tests to improve coverage testing.Damien George
2016-08-15tests/basics: Add more tuple tests to improve coverage testing.Damien George
2016-08-12tests: Rename zlibd_decompress.py -> uzlib_decompress.py.Paul Sokolovsky
To use the actual current name.
2016-08-07tests/basics: bytes/str.partition/rpartition are now optional.Paul Sokolovsky
Skip tests if not available.
2016-08-02extmod/modbtree: Implement __contains__ operation.Paul Sokolovsky