aboutsummaryrefslogtreecommitdiff
path: root/tests/stress
AgeCommit message (Collapse)Author
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
2019-12-13tests/stress/qstr_limit: Tune params to run with stm32 port.Damien George
Because MICROPY_ALLOC_PATH_MAX is only 128 for this port.
2019-11-26tests/stress: Add test for maximum length limit of qstrs.Damien George
2019-07-17tests/stress/recursive_iternext.py: Increase large depth to 5000.Damien George
So it fails correctly on Linux with clang.
2018-04-10tests: Move recursive tests to the tests/stress/ subdir.Damien George
Keeping all the stress related tests in one place makes it easier to stress-test a given port, and to also not run such tests on ports that can't handle them.
2018-04-10tests/stress/recursive_gen: Add test for recursive gen with iter.Damien George
2018-04-10py/objgenerator: Check stack before resuming a generator.Jeff Epler
This turns a hard crash in a recursive generator into a 'maximum recursion depth exceeded' exception.
2018-04-04tests/stress: Add test to verify the GC can trace nested objects.Damien George
2018-02-24tests/stress: Add test to create a dict beyond "maximum" rehash size.Damien George
There is a finite list of ascending primes used for the size of a hash table, and this test tests that the code can handle a dict larger than the maximum value in that list of primes. Adding this tests gets py/map.c to 100% coverage.
2016-03-15tests: Add new subdir "stress/" specifically for stress tests.Damien George