<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/tests/feature_check, 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/feature_check: Check for lack of pass result rather than failure.</title>
<updated>2021-04-14T14:52:56+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-14T14:47:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=8459f538eb45fd8e1e4d614298449cf18de84d75'/>
<id>8459f538eb45fd8e1e4d614298449cf18de84d75</id>
<content type='text'>
Commit cb68a5741aba5d4935428674234a9d643f97405f broke automatic Python
feature detection when running tests, because some detection relied on a
crash of a feature script returning exactly b"CRASH".

This commit fixes this and improves the situation by testing for the lack
of a known pass result, rather than an exact failure result.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit cb68a5741aba5d4935428674234a9d643f97405f broke automatic Python
feature detection when running tests, because some detection relied on a
crash of a feature script returning exactly b"CRASH".

This commit fixes this and improves the situation by testing for the lack
of a known pass result, rather than an exact failure result.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Rename run-tests to run-tests.py for consistency.</title>
<updated>2021-03-12T08:56:09+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-11T05:09:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6129b8e401c36cc68e0f7ba8180da27a40d17621'/>
<id>6129b8e401c36cc68e0f7ba8180da27a40d17621</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Rename "sys" module to "usys".</title>
<updated>2020-09-03T14:10:24+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-06-18T09:19:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=40ad8f1666b265dafc7844d765f45cfae4b6299f'/>
<id>40ad8f1666b265dafc7844d765f45cfae4b6299f</id>
<content type='text'>
This is consistent with the other 'micro' modules and allows implementing
additional features in Python via e.g. micropython-lib's sys.

Note this is a breaking change (not backwards compatible) for ports which
do not enable weak links, as "import sys" must now be replaced with
"import usys".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is consistent with the other 'micro' modules and allows implementing
additional features in Python via e.g. micropython-lib's sys.

Note this is a breaking change (not backwards compatible) for ports which
do not enable weak links, as "import sys" must now be replaced with
"import usys".
</pre>
</div>
</content>
</entry>
<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>lib/mp-readline: Add word-based move/delete EMACS key sequences.</title>
<updated>2020-01-12T02:09:27+00:00</updated>
<author>
<name>Yonatan Goldschmidt</name>
</author>
<published>2019-12-14T21:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=853aaa06f24c98191a44a38eedd4ec2a0e63d3eb'/>
<id>853aaa06f24c98191a44a38eedd4ec2a0e63d3eb</id>
<content type='text'>
This commit adds backward-word, backward-kill-word, forward-word,
forward-kill-word sequences for the REPL, with bindings to Alt+F, Alt+B,
Alt+D and Alt+Backspace respectively.  It is disabled by default and can be
enabled via MICROPY_REPL_EMACS_WORDS_MOVE.

Further enabling MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE adds extra bindings
for these new sequences: Ctrl+Right, Ctrl+Left and Ctrl+W.

The features are enabled on unix micropython-coverage and micropython-dev.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds backward-word, backward-kill-word, forward-word,
forward-kill-word sequences for the REPL, with bindings to Alt+F, Alt+B,
Alt+D and Alt+Backspace respectively.  It is disabled by default and can be
enabled via MICROPY_REPL_EMACS_WORDS_MOVE.

Further enabling MICROPY_REPL_EMACS_EXTRA_WORDS_MOVE adds extra bindings
for these new sequences: Ctrl+Right, Ctrl+Left and Ctrl+W.

The features are enabled on unix micropython-coverage and micropython-dev.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add feature check for uio module and skip corresponding tests.</title>
<updated>2019-10-29T11:22:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-29T11:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1d511152467ad2d21f874c9bbe05f8f117424d3e'/>
<id>1d511152467ad2d21f874c9bbe05f8f117424d3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add feature check for slice and skip corresponding tests.</title>
<updated>2019-10-29T11:22:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-29T10:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ecb77e40e079c6caef1391f48ff1ba7fab8fa68d'/>
<id>ecb77e40e079c6caef1391f48ff1ba7fab8fa68d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add feature check for bytearray and skip corresponding tests.</title>
<updated>2019-10-29T11:22:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-18T08:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a'/>
<id>6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/class_reverse_op: Test for reverse arith ops special methods.</title>
<updated>2017-09-10T14:05:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
</author>
<published>2017-09-10T14:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d6f9d64d97af245d042cbab8438dde25a29c504f'/>
<id>d6f9d64d97af245d042cbab8438dde25a29c504f</id>
<content type='text'>
This test should be run only if support for reverse ops is enabled, so
the corresponding feature_check is added to run-tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test should be run only if support for reverse ops is enabled, so
the corresponding feature_check is added to run-tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Auto detect floating point capabilites of the target.</title>
<updated>2017-06-26T03:47:00+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2017-06-26T03:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4a6c0fda784e9de346be92185f2f91b72e31f9db'/>
<id>4a6c0fda784e9de346be92185f2f91b72e31f9db</id>
<content type='text'>
The floating-point precision of the target is detected (0, 30, 32 or 64)
and only those tests which can run on the target will be run.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The floating-point precision of the target is detected (0, 30, 32 or 64)
and only those tests which can run on the target will be run.
</pre>
</div>
</content>
</entry>
</feed>
