aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-04-21py: Fix bug passing a string as a keyword arg in a dict.Damien George
Addresses issue #1998.
2016-04-15tests: Fix dict1.py so it doesn't rely on the order of dict elems.Damien George
2016-04-13tests: Skip async tests for native emitter.Damien George
2016-04-13tests: Add .exp files for async tests, so they can run with Python 3.4.Damien George
2016-04-13tests: Add 6 tests for async await/for/with.Damien George
2016-04-07py/objarray: Fix array.append so it doesn't extend if append fails.Damien George
Addresses issue #1965.
2016-04-07py: Implement basic with support in native emitter.Damien George
2016-03-29py/formatfloat: Fix further cases of buffer overflow in formatting.Damien George
Includes extensive test cases to catch hopefully all cases where buffer might overflow.
2016-03-25tests: Add test for io.BufferedWriter.Paul Sokolovsky
2016-03-19extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types.Damien George
2016-03-17tests/io: Remove "testfile" at end of open_plus test.Damien George
2016-03-16tests: Add a test for argument passing to inline-asm functions.Damien George
2016-03-15tests: Add new subdir "stress/" specifically for stress tests.Damien George
2016-03-15tests: Split large tests into smaller files, to run with a small heap.Damien George
All tests in basics/ directory can now run and pass using 64-bit unix port with only a 16k heap (./run-tests --heapsize 16k). Tests in this directory should remain small so they can be used for ports with a small heap.
2016-03-15tests/run-tests: Add cmd line option "--heapsize".Damien George
This allows you to specify the heapsize that unix will use when running the test suite, eg: ./run-tests --heapsize 16k
2016-03-15py/formatfloat: Fix buffer overflow when formatting tiny numbers.Damien George
2016-03-14py/objarray: Fix array slice assignment when array is reallocated.Damien George
Addresses issue #1898.
2016-03-08tests/run-tests: Simplify handling of newline in output from tests.Damien George
Now, all output has newlines converted to \n, regardless of port or platform.
2016-03-07tests/run-tests: Fix logic when selecting test-dirs for a given target.Damien George
2016-03-07tests/recursive_iternext.py: Make low-heap friendly.Paul Sokolovsky
2016-03-07tests/print_exception: Use exception which prints the same regardless of config.Paul Sokolovsky
NameError may either include offending name or not. Unfortunately, this change makes test float-dependent. And using integer division leads to different error message than CPython.
2016-03-06test/string_format_fp30: Variant of string_format for 30-bit stuffed float.Paul Sokolovsky
2016-03-06test/float2int_fp30: Variant of float2int for 30-bit stuffed float.Paul Sokolovsky
2016-03-06tests: Remove commented out tests so test script is not too big.Damien George
2016-03-06tests: Reduce large object allocations so tests can run with small heap.Damien George
2016-03-03tests/run-tests: Skips for esp8266.Paul Sokolovsky
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-22cc3200: Rename 'server' class to 'Server' for consistency.danicampora
2016-02-22tests/wipy: Correct machine test expected result.danicampora
2016-02-21tests: Skip uctypes and urandom tests not supported byt the WiPy.danicampora
2016-02-21test/wipy: Add Timer class tests.danicampora
2016-02-17py/repl: Check for an identifier char after the keyword.Alex March
- As described in the #1850. - Add cmdline tests.
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-02-14tests/bytearray1: Add testcases for "in" operator.Paul Sokolovsky
2016-02-13float/string_format: Split large test in 2.Paul Sokolovsky
2016-02-13tests/run-tests: Add esp8266 target.Paul Sokolovsky
2016-02-13test/float2int: Make test output clearer.Paul Sokolovsky
2016-02-10tests/pyb: Add simple test for stm module on pyboard.Damien George
2016-02-09py/viper: Allow casting of Python integers to viper pointers.Damien George
This allows you to pass a number (being an address) to a viper function that expects a pointer, and also allows casting of integers to pointers within viper functions. This was actually the original behaviour, but it regressed due to native type identifiers being promoted to 4 bits in width.
2016-02-06tests/open_plus: Add tests for "r+", "w+" open modes.Paul Sokolovsky
2016-02-03py/mpz: Complete implementation of mpz_{and,or,xor} for negative args.Doug Currie
For these 3 bitwise operations there are now fast functions for positive-only arguments, and general functions for arbitrary sign arguments (the fast functions are the existing implementation). By default the fast functions are not used (to save space) and instead the general functions are used for all operations. Enable MICROPY_OPT_MPZ_BITWISE to use the fast functions for positive arguments.
2016-02-02py/objstr: For str.format, add nested/computed fields support.pohmelie
Eg: '{:{}}'.format(123, '>20') @pohmelie was the original author of this patch, but @dpgeorge made significant changes to reduce code size and improve efficiency.