aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod
AgeCommit message (Collapse)Author
2016-09-16tests/extmod: Add test for machine.time_pulse_us().Damien George
2016-09-16tests/extmod/urandom: Add urandom tests for error cases.Damien George
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-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-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/uzlib_decompress: Actually test raw DEFLATE stream.Paul Sokolovsky
2016-08-12tests: Rename zlibd_decompress.py -> uzlib_decompress.py.Paul Sokolovsky
To use the actual current name.
2016-08-02extmod/modbtree: Implement __contains__ operation.Paul Sokolovsky
2016-07-31tests/machine1: Revamp to work with unix port (which has "umachine").Paul Sokolovsky
2016-07-31tests/machine_mem.py: Too non-portable, rework as an example for unix port.Paul Sokolovsky
2016-07-31tests/extmod/btree1: Tests against in-memory DB (using io.BytesIO).Paul Sokolovsky
2016-07-24tests/extmod/btree1: Close database at the end of test.Paul Sokolovsky
2016-07-17tests/extmod/machine_pinbase: Skip if machine.PinBase is not available.Paul Sokolovsky
2016-06-24tests/btree1: Add testcase for iterating btree object directly.Paul Sokolovsky
2016-06-21tests/extmod: Add "btree" module test.Paul Sokolovsky
2016-06-19tests: Add a testcase for machine.PinBase class.Paul Sokolovsky
2016-05-29tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd().Paul Sokolovsky
2016-04-26tests/extmod: Move split-on-empty-match tests to a separate test file.Damien George
And provide an expected-output file because these tests have a different behaviour under CPython.
2016-03-19extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types.Damien George
2016-02-29tests/vfs_fat_ramdisk: Add testcase for .rename().Paul Sokolovsky
2016-02-29tests/vfs_fat_ramdisk: Allow to run in native mode (don't use "with").Paul Sokolovsky
2016-02-29tests/vfs_fat_ramdisk: Add testcase for .mkdir().Paul Sokolovsky
2016-02-28tests/vfs_fat_ramdisk: Add testcase for .remove().Paul Sokolovsky
2016-02-28tests/vfs_fat_ramdisk: Add .listdir() testcase.Paul Sokolovsky
2016-02-15tests/vfs_fat_ramdisk: Skip test if can't allocate ramdisk.Paul Sokolovsky
2016-02-14tests/vfs_fat_ramdisk: Allow to override sector size.Paul Sokolovsky
2016-02-14tests/vfs_fat_ramdisk: Switch to ioctl-based blockdev API.Paul Sokolovsky
2016-02-14tests/vfs_fat_ramdisk: Add test for VfsFat.Paul Sokolovsky
2016-01-26tests: For urandom test, use sys.exit() instead of sys.exit(1).Damien George
2016-01-26tests: Add some tests for urandom module.Damien George
2016-01-10extmod: Fix uctypes size calculation for bitfieldsDave Hylands
2016-01-03tests/uctypes: Test item assignment for scalar arrays.Antonin ENFRUN
2015-12-09extmod: Add test which demonstrates LITTLE_ENDIAN packing failureDave Hylands
2015-11-01extmod/modure: Make sure that errors in regexps are caught early.Paul Sokolovsky
2015-10-20tests/extmod: Add tests for sleep_ms/us(), ticks_ms/us/diff().Paul Sokolovsky
Simple smoke tests, mostly for coverage. Added to extmod based on the fact that they're extensions to standard modules.
2015-09-03tests: Add tests to improve coverage of objstr.c.Damien George
2015-07-08modmachine: Implement physical memory access using /dev/mem (Linux, etc).Paul Sokolovsky
This requires root access. And on recent Linux kernels, with CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in /proc/iomem can be accessed. The above compiled-time option can be however overriden with boot-time option "iomem=relaxed". This also removed separate read/write paths - there unlikely would be a case when they're different.
2015-07-06tests: Catch ValueError instead of any exception to properly test error.Damien George
2015-07-04extmod: Add a2b_base64 and b2a_base64 functions to ubinascii.Galen Hazelwood
2015-06-25tests: Split out json float tests to separate files.Damien George
2015-06-15tests: Check that machine module exists and print SKIP if it doesn't.Damien George
2015-06-06moductypes: Swap address and descriptor args in constructor.Paul Sokolovsky
Now address comes first, and args related to struct type are groupped next. Besides clear groupping, should help catch errors eagerly (e.g. forgetting to pass address will error out). Also, improve args number checking/reporting overall.
2015-05-20extmod: Add ubinascii.unhexlifyDave Hylands
This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
2015-05-08tests: Add test for machine module (mem* functions).Damien George
2015-04-05tests: Add some more tests to improve code coverage of corner cases.Damien George
2015-03-14tests: Add some more tests for complex numbers and ure module.Damien George