<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/tests/stress, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>tests: Format all Python code with black, except tests in basics subdir.</title>
<updated>2020-03-30T02:21:58+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-03-23T02:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3dc324d3f1312e40d3a8ed87e7244966bb756f26'/>
<id>3dc324d3f1312e40d3a8ed87e7244966bb756f26</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress/qstr_limit: Tune params to run with stm32 port.</title>
<updated>2019-12-13T04:58:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-12-13T03:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=33b0a7e6019a7058d2eab3c9623096d4b6f7f6b7'/>
<id>33b0a7e6019a7058d2eab3c9623096d4b6f7f6b7</id>
<content type='text'>
Because MICROPY_ALLOC_PATH_MAX is only 128 for this port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because MICROPY_ALLOC_PATH_MAX is only 128 for this port.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress: Add test for maximum length limit of qstrs.</title>
<updated>2019-11-26T02:15:00+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-11-22T05:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1675b98e74e6af0bd5edaf236a275dcb7735069e'/>
<id>1675b98e74e6af0bd5edaf236a275dcb7735069e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress/recursive_iternext.py: Increase large depth to 5000.</title>
<updated>2019-07-17T05:52:41+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-07-17T05:33:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3e558300669effa93e5e4dad4c8c4ecc167766c4'/>
<id>3e558300669effa93e5e4dad4c8c4ecc167766c4</id>
<content type='text'>
So it fails correctly on Linux with clang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So it fails correctly on Linux with clang.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Move recursive tests to the tests/stress/ subdir.</title>
<updated>2018-04-10T04:43:52+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-04-10T04:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=5ad27d4b8bb248954d98178e068a382599dadfa6'/>
<id>5ad27d4b8bb248954d98178e068a382599dadfa6</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress/recursive_gen: Add test for recursive gen with iter.</title>
<updated>2018-04-10T04:39:51+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-04-10T04:39:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=605fdcf754c2c3f80f71e2dc83dcb3a4e74e5d95'/>
<id>605fdcf754c2c3f80f71e2dc83dcb3a4e74e5d95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>py/objgenerator: Check stack before resuming a generator.</title>
<updated>2018-04-10T04:06:26+00:00</updated>
<author>
<name>Jeff Epler</name>
</author>
<published>2018-04-01T17:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cbf981f3307661c205d27f3a418be3989ab47c5e'/>
<id>cbf981f3307661c205d27f3a418be3989ab47c5e</id>
<content type='text'>
This turns a hard crash in a recursive generator into a 'maximum recursion
depth exceeded' exception.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This turns a hard crash in a recursive generator into a 'maximum recursion
depth exceeded' exception.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress: Add test to verify the GC can trace nested objects.</title>
<updated>2018-04-04T04:22:54+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-04-04T03:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a45a34ec313d0fb57e2fb1bbacf6e9209483bbe6'/>
<id>a45a34ec313d0fb57e2fb1bbacf6e9209483bbe6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/stress: Add test to create a dict beyond "maximum" rehash size.</title>
<updated>2018-02-24T12:14:39+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-02-24T12:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=77a62d8b5add1c6feea307a2b6c23552cdac05ce'/>
<id>77a62d8b5add1c6feea307a2b6c23552cdac05ce</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add new subdir "stress/" specifically for stress tests.</title>
<updated>2016-03-15T13:20:18+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2016-03-15T13:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=157056ecdf378898996ba095c3d7bcf625368103'/>
<id>157056ecdf378898996ba095c3d7bcf625368103</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
