summaryrefslogtreecommitdiff
path: root/tests/extmod
AgeCommit message (Collapse)Author
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
2015-03-14tests: Add some more tests for bytes, bignum, string and ujson.Damien George
2015-03-12tests: Add zlib test for decompressing uncompressed data.Damien George
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-02tests: Add tests for op special meths, ubinascii, complex.Damien George
2015-02-21tests: Add tests for ure groups and named char classes.Damien George
Issue #1122 should now be fixed.
2015-02-02extmod: Make ujson.loads raise exception if given empty string.Damien George
Addresses issue #1097.
2015-01-28moduzlib: Implement raw DEFLATE decoding support.Paul Sokolovsky
2015-01-23modujson: .loads(): Handle more whitespace characters.Paul Sokolovsky
2014-12-18tests: sha256: skip test if uhashlib module is not available.Paul Sokolovsky
2014-11-22tests: Add test for hashlib.sha256 .Paul Sokolovsky
2014-10-30moductypes: Add test for accessing UINT8 array.Paul Sokolovsky
2014-10-30moductypes: Make sure we can apply .sizeof() to all aggregate types.Paul Sokolovsky
Before, sizeof() could be applied to a structure field only if that field was itself a structure. Now it can be applied to PTR and ARRAY fields too. It's not possible to apply it to scalar fields though, because as soon as scalar field (int or float) is dereferenced, its value is converted into Python int/float value, and all original type info is lost. Moreover, we allow sizeof of type definitions too, and there int is used to represent (scalar) types. So, we have ambiguity what int may be - either dereferenced scalar structure field, or encoded scalar type. So, rather throw an error if user tries to apply sizeof() to int.
2014-10-22extmod: Add uheapq module.Damien George
2014-10-17modure: Update to re1.5 v0.6.1, fixed and extended character class support.Paul Sokolovsky
2014-10-15modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).Paul Sokolovsky
2014-10-13moduzlib: Integrate into the system.Paul Sokolovsky
2014-10-11modure: Basic tests.Paul Sokolovsky
2014-10-06tests: Add missing "import sys".Paul Sokolovsky
2014-10-06tests: Force skip of LE test on non-LE arch; improve run-tests-exp.sh.Damien George
2014-10-05tests: Make printing of floats hopefully more portable.Damien George
2014-09-25py: Simplify JSON str printing (while still conforming to JSON spec).Damien George
The JSON specs are relatively flexible and allow us to use one function to print strings, be they ascii, bytes or utf-8 encoded.
2014-09-23tests: Fix uctypes tests to run on 64bit arch; enable more native tests.Damien George
2014-09-21extmod, ujson: Add test and comment for loads.Damien George
2014-09-17py: Add native json printing using existing print framework.Damien George
Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both.
2014-08-12extmod: Finish rename of zlib to zlibd; enable zlibd on stmhal.Damien George